diff options
author | Jon Marius Venstad <jonmv@users.noreply.github.com> | 2019-02-12 14:58:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-12 14:58:23 +0100 |
commit | ba4dffd8c1f3ec5586fc7bf8699ccbc6e70ba453 (patch) | |
tree | 81ef3ed85049c834729cca4bbc7bce788404d0fd | |
parent | 6cd73b95dcdcf95a07a726aab88147c2aa19a029 (diff) | |
parent | 58861a330fca3ccb3b0c8df7d2a2ee28d7beb712 (diff) |
Merge pull request #8472 from vespa-engine/hmusum/cleanup-after-test
Make sure to deconstruct component at end of test
-rw-r--r-- | configserver/src/test/java/com/yahoo/vespa/config/server/ConfigServerBootstrapTest.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configserver/src/test/java/com/yahoo/vespa/config/server/ConfigServerBootstrapTest.java b/configserver/src/test/java/com/yahoo/vespa/config/server/ConfigServerBootstrapTest.java index fda21edcd39..039146c3cb9 100644 --- a/configserver/src/test/java/com/yahoo/vespa/config/server/ConfigServerBootstrapTest.java +++ b/configserver/src/test/java/com/yahoo/vespa/config/server/ConfigServerBootstrapTest.java @@ -148,6 +148,7 @@ public class ConfigServerBootstrapTest { waitUntil(rpcServer::isRunning, "failed waiting for Rpc server running"); waitUntil(() -> bootstrap.status() == StateMonitor.Status.up, "failed waiting for status 'up'"); waitUntil(vipStatus::isInRotation, "failed waiting for server to be in rotation"); + bootstrap.deconstruct(); } private void waitUntil(BooleanSupplier booleanSupplier, String messageIfWaitingFails) throws InterruptedException { |