diff options
author | Jon Bratseth <bratseth@oath.com> | 2021-09-27 23:08:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-27 23:08:47 +0200 |
commit | 8f3fb1a105ded07144f6de527266a438e48a1766 (patch) | |
tree | d2923a45682e91d80e7011c60cfb301e05acead3 /slobrok/src/tests/rpc_mapping_monitor/rpc_mapping_monitor_test.cpp | |
parent | 0a858cc0f3425fc792d978b6221ef4f3c3bc6067 (diff) | |
parent | 037f756caf4cfb99bcd988174839d7bc385267b9 (diff) |
Merge branch 'master' into bratseth/linguistics-components
Diffstat (limited to 'slobrok/src/tests/rpc_mapping_monitor/rpc_mapping_monitor_test.cpp')
-rw-r--r-- | slobrok/src/tests/rpc_mapping_monitor/rpc_mapping_monitor_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slobrok/src/tests/rpc_mapping_monitor/rpc_mapping_monitor_test.cpp b/slobrok/src/tests/rpc_mapping_monitor/rpc_mapping_monitor_test.cpp index f503453f934..0edcde172aa 100644 --- a/slobrok/src/tests/rpc_mapping_monitor/rpc_mapping_monitor_test.cpp +++ b/slobrok/src/tests/rpc_mapping_monitor/rpc_mapping_monitor_test.cpp @@ -148,7 +148,7 @@ TEST_F(RpcMappingMonitorTest, hurry_means_faster) { EXPECT_TRUE(debugger.step_until([&]() { return ((hist.map[foo_a].samples() > 0)); })); auto t2 = debugger.time(); - fprintf(stderr, "hurry: ~%zu ms, normal: ~%zu ms\n", count_ms(t1-t0), count_ms(t2-t0)); + fprintf(stderr, "hurry: ~%" PRIu64 " ms, normal: ~%" PRIu64 " ms\n", count_ms(t1-t0), count_ms(t2-t0)); EXPECT_GT((t2 - t0), 10 * (t1 - t0)); EXPECT_EQ(hist.map[foo_a].state(), State::UP); EXPECT_EQ(hist.map[baz_b].state(), State::UP); @@ -218,7 +218,7 @@ TEST_F(RpcMappingMonitorTest, detect_ping_interval) { a.set_last_conn(nullptr); EXPECT_TRUE(debugger.step_until([&]() { return (a.last_conn); })); auto t2 = debugger.time(); - fprintf(stderr, "ping interval: ~%zu ms\n", count_ms(t2-t1)); + fprintf(stderr, "ping interval: ~%" PRIu64 " ms\n", count_ms(t2-t1)); } GTEST_MAIN_RUN_ALL_TESTS() |