aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/java/com
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2021-04-20 11:52:04 +0000
committerArne Juul <arnej@verizonmedia.com>2021-04-20 11:56:12 +0000
commitfaa512418817c1c51b1abb60f8e9ca8609c9ed10 (patch)
treeeb23553d32aa4f8f350701ae92c3ccb57781fbab /config-model/src/test/java/com
parent901237f0a48223b8971c56c95e0d7b41e3974d33 (diff)
let the sentinel run the RPC call for prepare-restart on content nodes.
* skipping this has created lots of operational problems * if we end up running it two times, that's usually not a large extra cost
Diffstat (limited to 'config-model/src/test/java/com')
-rw-r--r--config-model/src/test/java/com/yahoo/vespa/model/content/ContentClusterTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/config-model/src/test/java/com/yahoo/vespa/model/content/ContentClusterTest.java b/config-model/src/test/java/com/yahoo/vespa/model/content/ContentClusterTest.java
index 811e789752e..5ffade0776a 100644
--- a/config-model/src/test/java/com/yahoo/vespa/model/content/ContentClusterTest.java
+++ b/config-model/src/test/java/com/yahoo/vespa/model/content/ContentClusterTest.java
@@ -790,8 +790,8 @@ public class ContentClusterTest extends ContentBaseTest {
}
@Test
- public void flush_on_shutdown_is_default_off_for_hosted() throws Exception {
- assertNoPreShutdownCommand(createOneNodeCluster(true));
+ public void flush_on_shutdown_is_default_on_for_hosted() throws Exception {
+ assertPrepareRestartCommand(createOneNodeCluster(true));
}
@Test