mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-19 06:31:13 -03:00
Increase debounce timeout in debounce test
On slow machines this was spuriously failing.
This commit is contained in:
@@ -1026,7 +1026,7 @@ static void test_debounce_timeout() {
|
|||||||
|
|
||||||
// Verify that debounce doesn't wait forever.
|
// Verify that debounce doesn't wait forever.
|
||||||
// Use a shared_ptr so we don't have to join our threads.
|
// 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 {
|
struct data_t {
|
||||||
debounce_t db{timeout_ms};
|
debounce_t db{timeout_ms};
|
||||||
bool exit_ok = false;
|
bool exit_ok = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user