aboutsummaryrefslogtreecommitdiffstats
path: root/config/src/tests/configagent/configagent.cpp
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2020-11-30 14:33:23 +0100
committerJon Bratseth <bratseth@gmail.com>2020-11-30 14:33:23 +0100
commite3743e075e1eeb088fbb9b2f4146ef1faeb08d9a (patch)
tree373c0c96520bf1efabecda9e568a986fdf5572bb /config/src/tests/configagent/configagent.cpp
parenta3289b0060bd7a0e5eb2b6d638c05c9d76e3a8d4 (diff)
Revert "Merge pull request #15532 from vespa-engine/revert-15527-bratseth/apply-on-restart-take-5"
This reverts commit d91c72c22cae12468103ed4c43729e745916943e, reversing changes made to 9b47661ae5682e87cd963c63bdc2717896f468db.
Diffstat (limited to 'config/src/tests/configagent/configagent.cpp')
-rw-r--r--config/src/tests/configagent/configagent.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/src/tests/configagent/configagent.cpp b/config/src/tests/configagent/configagent.cpp
index a7cc95ab883..7cc0abee0bc 100644
--- a/config/src/tests/configagent/configagent.cpp
+++ b/config/src/tests/configagent/configagent.cpp
@@ -36,7 +36,7 @@ public:
_value(value),
_fillCalled(false),
_valid(valid),
- _state(md5, timestamp, false),
+ _state(md5, timestamp, false, false),
_errorMessage(errorMsg),
_errorCode(errorC0de),
_isError(iserror)
@@ -142,6 +142,7 @@ TEST("require that agent returns correct values") {
ASSERT_EQUAL(cs.md5, handler.getConfigState().md5);
ASSERT_EQUAL(cs.generation, handler.getConfigState().generation);
ASSERT_EQUAL(cs.internalRedeploy, handler.getConfigState().internalRedeploy);
+ ASSERT_EQUAL(cs.applyOnRestart, handler.getConfigState().applyOnRestart);
}
TEST("require that successful request is delivered to holder") {