We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 225e0ae commit b52c162Copy full SHA for b52c162
src/tests/unit/test_ipc_serialization.cpp
@@ -188,7 +188,10 @@ BOOST_AUTO_TEST_CASE(MessageOrdering_Timestamps_AreMonotonic) {
188
std::this_thread::sleep_for(std::chrono::milliseconds(10));
189
auto t2 = std::chrono::steady_clock::now();
190
191
- BOOST_CHECK_LT(t1, t2);
+ // 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);
195
}
196
197
// ===========================================================================
0 commit comments