Skip to content

Commit b52c162

Browse files
committed
docs: fixing boost check lt error during build
1 parent 225e0ae commit b52c162

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/tests/unit/test_ipc_serialization.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,10 @@ BOOST_AUTO_TEST_CASE(MessageOrdering_Timestamps_AreMonotonic) {
188188
std::this_thread::sleep_for(std::chrono::milliseconds(10));
189189
auto t2 = std::chrono::steady_clock::now();
190190

191-
BOOST_CHECK_LT(t1, t2);
191+
// Convert to durations for comparison (Boost.Test can't print time_point)
192+
auto d1 = t1.time_since_epoch().count();
193+
auto d2 = t2.time_since_epoch().count();
194+
BOOST_CHECK_LT(d1, d2);
192195
}
193196

194197
// ===========================================================================

0 commit comments

Comments
 (0)