diff options
author | jonmv <venstad@gmail.com> | 2022-10-11 09:31:50 +0200 |
---|---|---|
committer | jonmv <venstad@gmail.com> | 2022-10-11 09:31:50 +0200 |
commit | f6f2ae9aaddd11eba42983b520571639891a48c1 (patch) | |
tree | 1c4675ed5e27c903f53c46dab8e336b86e7e70d7 /zkfacade/src/test | |
parent | 83787dad43ff9d69955133e0df1d8de2e2a11ed6 (diff) |
Stabilize unit test
Diffstat (limited to 'zkfacade/src/test')
-rw-r--r-- | zkfacade/src/test/java/com/yahoo/vespa/curator/CuratorWrapperTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zkfacade/src/test/java/com/yahoo/vespa/curator/CuratorWrapperTest.java b/zkfacade/src/test/java/com/yahoo/vespa/curator/CuratorWrapperTest.java index e07ec307108..1ff639ed75a 100644 --- a/zkfacade/src/test/java/com/yahoo/vespa/curator/CuratorWrapperTest.java +++ b/zkfacade/src/test/java/com/yahoo/vespa/curator/CuratorWrapperTest.java @@ -288,8 +288,8 @@ public class CuratorWrapperTest { // Simulate connection loss for our singleton's ZK session. ((MockCuratorFramework) wrapped.framework()).connectionStateListeners.listeners.forEach(listener -> listener.stateChanged(null, ConnectionState.LOST)); - stunning.arriveAndAwaitAdvance(); singleton.phaser.arriveAndAwaitAdvance(); + stunning.arriveAndAwaitAdvance(); assertFalse(singleton.isActive); verifyMetrics(Map.of("activation.count", 1.0, "activation.millis", 0.0, |