diff --git a/src/test/java/com/neo4j/docker/neo4jadmin/TestDumpLoad.java b/src/test/java/com/neo4j/docker/neo4jadmin/TestDumpLoad.java index c6a582b1..c5a6dc60 100644 --- a/src/test/java/com/neo4j/docker/neo4jadmin/TestDumpLoad.java +++ b/src/test/java/com/neo4j/docker/neo4jadmin/TestDumpLoad.java @@ -61,7 +61,7 @@ private GenericContainer createAdminContainer( boolean asDefaultUser ) container.withEnv( "NEO4J_ACCEPT_LICENSE_AGREEMENT", "yes" ) .withExposedPorts( 7474, 7687 ) .withLogConsumer( new Slf4jLogConsumer( log ) ) - .waitingFor( new LogMessageWaitStrategy().withRegEx( "^Done: \\d+ files, [\\d\\.,]+[KMGi]+B processed\\..*" ) ) + .waitingFor( new LogMessageWaitStrategy().withRegEx( "^Done: \\d+ files, [\\d\\.,]+[KMGi]*B processed.*" ) ) // .waitingFor( new LogMessageWaitStrategy().withRegEx( "^Done: .*" ) ) .withStartupCheckStrategy( new OneShotStartupCheckStrategy().withTimeout( Duration.ofSeconds( 90 ) ) ); if(!asDefaultUser) diff --git a/src/test/java/com/neo4j/docker/neo4jadmin/TestDumpLoad44.java b/src/test/java/com/neo4j/docker/neo4jadmin/TestDumpLoad44.java index 0e7646c9..69dce5fd 100644 --- a/src/test/java/com/neo4j/docker/neo4jadmin/TestDumpLoad44.java +++ b/src/test/java/com/neo4j/docker/neo4jadmin/TestDumpLoad44.java @@ -70,7 +70,7 @@ private GenericContainer createAdminContainer( boolean asDefaultUser ) container.withEnv( "NEO4J_ACCEPT_LICENSE_AGREEMENT", "yes" ) .withExposedPorts( 7474, 7687 ) .withLogConsumer( new Slf4jLogConsumer( log ) ) - .waitingFor( new LogMessageWaitStrategy().withRegEx( "^Done: \\d+ files, [\\d\\.,]+[KMGi]+B processed\\..*" ) ) + .waitingFor( new LogMessageWaitStrategy().withRegEx( "^Done: \\d+ files, [\\d\\.,]+[KMGi]*B processed.*" ) ) .withStartupCheckStrategy( new OneShotStartupCheckStrategy().withTimeout( Duration.ofSeconds( 90 ) ) ); if(!asDefaultUser) {