diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-03-11 07:45:50 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2019-03-11 07:45:50 +0000 |
commit | 9821a7fd7de84ee0dbae255ffff480c43135fcd0 (patch) | |
tree | 0c67cbed7587d3d55243573408ab0543476727f2 /searchlib/src/tests/engine | |
parent | a3dcd03d92e1989b0ccc0dc1aaf659c86531fd85 (diff) |
Milliseconds is the better unit here.
Diffstat (limited to 'searchlib/src/tests/engine')
-rw-r--r-- | searchlib/src/tests/engine/searchapi/searchapi_test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/searchlib/src/tests/engine/searchapi/searchapi_test.cpp b/searchlib/src/tests/engine/searchapi/searchapi_test.cpp index 297a45f5b22..848aa91553d 100644 --- a/searchlib/src/tests/engine/searchapi/searchapi_test.cpp +++ b/searchlib/src/tests/engine/searchapi/searchapi_test.cpp @@ -235,7 +235,7 @@ void verify(vespalib::stringref expected, const vespalib::Slime & slime) { } TEST("verify trace") { - RelativeTime clock(std::make_unique<CountingClock>(7)); + RelativeTime clock(std::make_unique<CountingClock>(7, 1700000)); Trace t(clock); verify("{" " traces: [" @@ -248,7 +248,7 @@ TEST("verify trace") { " traces: [" " {" " tag: 'tag_a'," - " time: 1" + " time_ms: 1.7" " }" " ]," " creation_time: 7" @@ -260,11 +260,11 @@ TEST("verify trace") { " traces: [" " {" " tag: 'tag_a'," - " time: 1" + " time_ms: 1.7" " }," " {" " tag: 'tag_b'," - " time: 2," + " time_ms: 3.4," " long: 19" " }" " ]," |