From f1e73a1839ce94ba6366801ad66fcea4d2892cf1 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 12 Nov 2022 13:26:21 -0800 Subject: [PATCH] Increase debounce timeout in debounce test On slow machines this was spuriously failing. --- src/fish_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fish_tests.cpp b/src/fish_tests.cpp index da1ff0406..faf376d2c 100644 --- a/src/fish_tests.cpp +++ b/src/fish_tests.cpp @@ -1026,7 +1026,7 @@ static void test_debounce_timeout() { // Verify that debounce doesn't wait forever. // Use a shared_ptr so we don't have to join our threads. - const long timeout_ms = 50; + const long timeout_ms = 500; struct data_t { debounce_t db{timeout_ms}; bool exit_ok = false;