diff options
author | jonmv <venstad@gmail.com> | 2022-10-11 10:34:38 +0200 |
---|---|---|
committer | jonmv <venstad@gmail.com> | 2022-10-11 10:34:38 +0200 |
commit | 37d63d09b71333401849662f5642123d2ae8f9ce (patch) | |
tree | edb973e1d16b6e5e81a9ede3b20e1e29651c17d1 /zkfacade/src/test | |
parent | d572ecbe50456810df1dba311d74ebb878e06c7b (diff) |
Complete janitor shutdown in synchronous part of shutdown
Diffstat (limited to 'zkfacade/src/test')
-rw-r--r-- | zkfacade/src/test/java/com/yahoo/vespa/curator/CuratorWrapperTest.java | 4 |
1 files changed, 2 insertions, 2 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 82b9693b8fe..cd96ba78bd3 100644 --- a/zkfacade/src/test/java/com/yahoo/vespa/curator/CuratorWrapperTest.java +++ b/zkfacade/src/test/java/com/yahoo/vespa/curator/CuratorWrapperTest.java @@ -197,12 +197,12 @@ public class CuratorWrapperTest { RuntimeException e = assertThrows(RuntimeException.class, () -> new Singleton(curator) { @Override public void activate() { - throw new RuntimeException(); + throw new RuntimeException("expected test exception"); } @Override public void deactivate() { stunning.arriveAndAwaitAdvance(); stunning.arriveAndAwaitAdvance(); - throw new RuntimeException(); + throw new RuntimeException("expected test exception"); } @Override public String toString() { return "failing singleton"; |