Skip to content

Commit

Permalink
Try to stabilize the tests on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet committed Oct 24, 2023
1 parent 5e6904e commit ec62ffc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ void doTest(String projectName, String profile) throws MavenInvocationException,
.execute(Arrays.asList("package", "-B",
"-D" + profile), Collections.emptyMap());

await().atMost(1, TimeUnit.MINUTES)
await().atMost(3, TimeUnit.MINUTES)
.until(() -> packageInvocationResult.getProcess() != null && !packageInvocationResult.getProcess().isAlive());
assertThat(packageInvocation.log()).containsIgnoringCase("BUILD SUCCESS");

Expand All @@ -35,7 +35,7 @@ void doTest(String projectName, String profile) throws MavenInvocationException,
.execute(Arrays.asList("failsafe:integration-test", "-B",
"-D" + profile), Collections.emptyMap());

await().atMost(1, TimeUnit.MINUTES)
await().atMost(3, TimeUnit.MINUTES)
.until(() -> integrationTestsInvocationResult.getProcess() != null
&& !integrationTestsInvocationResult.getProcess().isAlive());
assertThat(integrationTestsInvocation.log()).containsIgnoringCase("BUILD SUCCESS");
Expand Down

0 comments on commit ec62ffc

Please sign in to comment.