From d5b2a263e6d4c893c6ec3fb99b36110630da6529 Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Mon, 6 Oct 2025 10:18:49 +0200 Subject: speed up tests (#555) * faster FileSystemTraversal test * faster jobqueue test * faster NamedEvent test * faster cache tests * faster basic http tests * faster blockstore test * faster cache store tests * faster compactcas tests * more responsive zenserver launch * tweak worker pool sizes in tests --- src/zencore/thread.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/zencore/thread.cpp') diff --git a/src/zencore/thread.cpp b/src/zencore/thread.cpp index b8ec85a4a..abf282467 100644 --- a/src/zencore/thread.cpp +++ b/src/zencore/thread.cpp @@ -608,12 +608,12 @@ TEST_CASE("NamedEvent") ReadyEvent.Set(); NamedEvent TestEvent(Name); - TestEvent.Wait(1000); + TestEvent.Wait(100); }); ReadyEvent.Wait(); - zen::Sleep(100); + zen::Sleep(10); TestEvent.Set(); Waiter.join(); @@ -621,7 +621,7 @@ TEST_CASE("NamedEvent") // Manual reset property for (uint32_t i = 0; i < 8; ++i) { - bool bEventSet = TestEvent.Wait(100); + bool bEventSet = TestEvent.Wait(10); CHECK(bEventSet); } } -- cgit v1.2.3