summaryrefslogtreecommitdiff
path: root/perfprofd/tests/perfprofd_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'perfprofd/tests/perfprofd_test.cc')
-rw-r--r--perfprofd/tests/perfprofd_test.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/perfprofd/tests/perfprofd_test.cc b/perfprofd/tests/perfprofd_test.cc
index 6c5c2783..a96fd710 100644
--- a/perfprofd/tests/perfprofd_test.cc
+++ b/perfprofd/tests/perfprofd_test.cc
@@ -613,7 +613,6 @@ TEST_F(PerfProfdTest, ConfigFileParsing)
runner.addToConfig("destination_directory=/does/not/exist");
// assorted bad syntax
- runner.addToConfig("collection_interval=0");
runner.addToConfig("collection_interval=-1");
runner.addToConfig("nonexistent_key=something");
runner.addToConfig("no_equals_stmt");
@@ -626,10 +625,9 @@ TEST_F(PerfProfdTest, ConfigFileParsing)
// Verify log contents
const std::string expected = RAW_RESULT(
- W: line 6: specified value 0 for 'collection_interval' outside permitted range [1 4294967295] (ignored)
- W: line 7: malformed unsigned value (ignored)
- W: line 8: unknown option 'nonexistent_key' ignored
- W: line 9: line malformed (no '=' found)
+ W: line 6: malformed unsigned value (ignored)
+ W: line 7: unknown option 'nonexistent_key' ignored
+ W: line 8: line malformed (no '=' found)
);
// check to make sure log excerpt matches