From 895857c52323264344aeacc21b6fd54abb6fdb87 Mon Sep 17 00:00:00 2001 From: Tao He Date: Thu, 23 Sep 2021 13:20:02 +0800 Subject: [PATCH] Adapt to CI env. Signed-off-by: Tao He --- tst/MemLeakTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tst/MemLeakTest.cpp b/tst/MemLeakTest.cpp index 7cebe0b..cd02926 100644 --- a/tst/MemLeakTest.cpp +++ b/tst/MemLeakTest.cpp @@ -73,7 +73,7 @@ DistributedLock::~DistributedLock() noexcept { int main() { int i = 0, t = 0; - while(t < 500) { + while(t < 10 /* update this value to make it run for longer */) { { DistributedLock lock(std::to_string(i), 0); if(!lock.lock_acquired()) {