diff options
author | Harald Musum <musum@oath.com> | 2018-06-10 20:32:15 +0200 |
---|---|---|
committer | Harald Musum <musum@oath.com> | 2018-06-10 20:32:15 +0200 |
commit | 314bad4602bc02069de5117ec7a62b4ef24b0def (patch) | |
tree | a55259ea1856a9263f4ed3147bf96e41cc4ded99 /config/src/tests/frt | |
parent | 38d482d4e1ae1b34edba6c02e7404ce3c4e42bc3 (diff) |
Update tests
Diffstat (limited to 'config/src/tests/frt')
-rw-r--r-- | config/src/tests/frt/frt.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config/src/tests/frt/frt.cpp b/config/src/tests/frt/frt.cpp index 5f4b7dee215..b616861c799 100644 --- a/config/src/tests/frt/frt.cpp +++ b/config/src/tests/frt/frt.cpp @@ -277,10 +277,10 @@ TEST("require that v3 request is correctly initialized") { traceIn.trace(2, "Hei"); FRTConfigRequestV3 v3req(&conn, key, md5, currentGeneration, wantedGeneration, hostName, timeout, traceIn, VespaVersion::fromString("1.2.3"), CompressionType::LZ4); - ASSERT_TRUE(v3req.verifyState(ConfigState(md5, 3))); - ASSERT_FALSE(v3req.verifyState(ConfigState(md5, 2))); - ASSERT_FALSE(v3req.verifyState(ConfigState("xxx", 3))); - ASSERT_FALSE(v3req.verifyState(ConfigState("xxx", 2))); + ASSERT_TRUE(v3req.verifyState(ConfigState(md5, 3, false))); + ASSERT_FALSE(v3req.verifyState(ConfigState(md5, 2, false))); + ASSERT_FALSE(v3req.verifyState(ConfigState("xxx", 3, false))); + ASSERT_FALSE(v3req.verifyState(ConfigState("xxx", 2, false))); ConfigDefinition origDef(MyConfig::CONFIG_DEF_SCHEMA); |