diff --git a/spring-cloud-commons/src/test/java/org/springframework/cloud/client/discovery/simple/reactive/SimpleReactiveDiscoveryClientTests.java b/spring-cloud-commons/src/test/java/org/springframework/cloud/client/discovery/simple/reactive/SimpleReactiveDiscoveryClientTests.java index ba2d33aa..994805da 100644 --- a/spring-cloud-commons/src/test/java/org/springframework/cloud/client/discovery/simple/reactive/SimpleReactiveDiscoveryClientTests.java +++ b/spring-cloud-commons/src/test/java/org/springframework/cloud/client/discovery/simple/reactive/SimpleReactiveDiscoveryClientTests.java @@ -66,7 +66,7 @@ public class SimpleReactiveDiscoveryClientTests { @Test public void shouldReturnEmptyFluxForNonExistingService() { Flux instances = this.client.getInstances("undefined"); - StepVerifier.create(instances).expectComplete(); + StepVerifier.create(instances).expectComplete().verify(); } @Test