From 0b19b62b122678b749db5d92a7070e0eb28b869f Mon Sep 17 00:00:00 2001 From: Tyler Neely Date: Tue, 22 Nov 2022 11:25:24 +0000 Subject: [PATCH] Set the abort_time for raft tests to 1 simulated hour --- tests/simulation/raft.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/simulation/raft.cpp b/tests/simulation/raft.cpp index 6e7b345f9..f2dd82e9d 100644 --- a/tests/simulation/raft.cpp +++ b/tests/simulation/raft.cpp @@ -250,7 +250,7 @@ void RunWithSeed(uint64_t seed) { .scramble_messages = true, .rng_seed = seed, .start_time = Time::min() + std::chrono::microseconds{256 * 1024}, - .abort_time = Time::max(), + .abort_time = Time::min() + std::chrono::seconds{3600}, }; spdlog::error("========================== NEW SIMULATION, replay with RunWithSeed({}) ==========================",