From 7b185ecaaf7ae57c1ad71dcf99fbba0c0d4bf313 Mon Sep 17 00:00:00 2001 From: Adam Emerson Date: Mon, 10 Feb 2025 16:01:38 -0500 Subject: [PATCH] tests/ceph_timer: Fix link error that keeps showing up We keep hitting link errors from GTest trying to print the values and iostreams for `` being flaky. Just make it a straight up `EXPECT_TRUE` so it stops breaking differently on different platforms. Signed-off-by: Adam Emerson --- src/test/common/test_ceph_timer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/common/test_ceph_timer.cc b/src/test/common/test_ceph_timer.cc index 925f05bd1f9f..971940293c74 100644 --- a/src/test/common/test_ceph_timer.cc +++ b/src/test/common/test_ceph_timer.cc @@ -66,7 +66,7 @@ void run_orderly() }); } - EXPECT_LT(first.get(), second.get()); + EXPECT_TRUE(first.get() < second.get()); } struct Destructo { -- 2.47.3