diff --git a/testsuite/domain/pom.xml b/testsuite/domain/pom.xml
index 4a846834658..859db9e6a97 100644
--- a/testsuite/domain/pom.xml
+++ b/testsuite/domain/pom.xml
@@ -214,6 +214,7 @@
org/jboss/as/test/integration/domain/secondaryreconnect/*TestCase.java
org/jboss/as/test/integration/domain/management/*TestCase.java
org/jboss/as/test/integration/domain/elytron/*TestCase.java
+ org/jboss/as/test/integration/domain/installationmanager/*TestCase.java
diff --git a/testsuite/domain/src/test/java/org/jboss/as/test/integration/domain/installationmanager/InstallationManagerIntegrationTestCase.java b/testsuite/domain/src/test/java/org/jboss/as/test/integration/domain/installationmanager/InstallationManagerIntegrationTestCase.java
index 9912d9d2325..9769571e795 100644
--- a/testsuite/domain/src/test/java/org/jboss/as/test/integration/domain/installationmanager/InstallationManagerIntegrationTestCase.java
+++ b/testsuite/domain/src/test/java/org/jboss/as/test/integration/domain/installationmanager/InstallationManagerIntegrationTestCase.java
@@ -620,7 +620,7 @@ public void revertWithNoResolveLocalMavenCache() throws IOException {
Assert.assertTrue(Files.exists(primaryPrepareServerDir) && Files.isDirectory(primaryPrepareServerDir));
Assert.assertTrue(primaryPrepareServerDir + " does not contain the expected file marker",
- Files.list(primaryPrepareServerDir).allMatch(p -> primaryPrepareServerDir.relativize(p).toString().startsWith("server-prepare-marker-")));
+ directoryOnlyContains(primaryPrepareServerDir, p -> primaryPrepareServerDir.relativize(p).toString().startsWith("server-prepare-marker-")));
}
@Test