summaryrefslogtreecommitdiffstats
path: root/storage/src/tests/common/hostreporter/hostinfotest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'storage/src/tests/common/hostreporter/hostinfotest.cpp')
-rw-r--r--storage/src/tests/common/hostreporter/hostinfotest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/src/tests/common/hostreporter/hostinfotest.cpp b/storage/src/tests/common/hostreporter/hostinfotest.cpp
index 9869970c443..418884c2a38 100644
--- a/storage/src/tests/common/hostreporter/hostinfotest.cpp
+++ b/storage/src/tests/common/hostreporter/hostinfotest.cpp
@@ -51,8 +51,7 @@ HostInfoReporterTest::testHostInfoReporter()
vespalib::Slime slime;
JsonFormat::decode(Memory(jsonData), slime);
CPPUNIT_ASSERT(slime.get()["dummy"]["foo"].asString() == "bar");
- CPPUNIT_ASSERT(0 < slime.get()["network"]["lo"]["input"]["packets"].asLong());
- CPPUNIT_ASSERT(1.0 <= slime.get()["cpu"]["context switches"].asDouble());
+ CPPUNIT_ASSERT(!slime.get()["vtag"]["version"].asString().make_string().empty());
}
} // storage