Skip to content

Commit

Permalink
Merge pull request #91 from wiremock/flakey-test-fix
Browse files Browse the repository at this point in the history
add some leeway to delay test.
  • Loading branch information
RafeArnold authored Jul 29, 2024
2 parents 7d4558d + 5148728 commit df7d1a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/org/wiremock/grpc/GrpcAcceptanceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ void fixedDelay() {
stopwatch.stop();

assertThat(greeting, is("Delayed hello"));
assertThat(stopwatch.elapsed(), greaterThanOrEqualTo(Duration.ofMillis(1000L)));
assertThat(stopwatch.elapsed(), greaterThanOrEqualTo(Duration.ofMillis(990L)));
}

@Test
Expand Down

0 comments on commit df7d1a4

Please sign in to comment.