From fd0c3b41dc7adeabffeb72b5295cf2075a2e21c1 Mon Sep 17 00:00:00 2001 From: Dima Korolev Date: Thu, 19 Sep 2024 09:51:38 +0200 Subject: [PATCH] Reset time to zero in the test of VectorClock. --- bricks/distributed/test.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/bricks/distributed/test.cc b/bricks/distributed/test.cc index 65e1fba1..69b3d906 100644 --- a/bricks/distributed/test.cc +++ b/bricks/distributed/test.cc @@ -81,6 +81,7 @@ TEST(VectorClock, Merge) { } TEST(VectorClock, ContinuousTime) { + current::time::ResetToZero(); current::time::SetNow(0us, 1000us); auto base_time = current::time::Now(); ContinuousClocks c1 = {base_time, base_time + 100us};