Skip to content

Commit

Permalink
increase timeouts in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SteKoe committed Jan 29, 2021
1 parent b13475a commit 2ce757d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -62,7 +62,7 @@ public void lifecycle() {
listInstances();
deregisterInstance(location.get());
}).assertNext((event) -> assertThat(event.opt("type")).isEqualTo("DEREGISTERED"))
.then(this::listEmptyInstances).thenCancel().verify(Duration.ofSeconds(60));
.then(this::listEmptyInstances).thenCancel().verify(Duration.ofSeconds(120));
}

protected Flux<JSONObject> getEventStream() {
Expand Down
Expand Up @@ -72,7 +72,7 @@ public abstract class AbstractInstancesProxyControllerIntegrationTest {

@BeforeAll
public static void setUp() {
StepVerifier.setDefaultTimeout(Duration.ofSeconds(5));
StepVerifier.setDefaultTimeout(Duration.ofSeconds(10));
}

@AfterAll
Expand Down

0 comments on commit 2ce757d

Please sign in to comment.