mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
Increase debounce timeout in debounce test
On slow machines this was spuriously failing.
This commit is contained in:
parent
4ab728b3a2
commit
f1e73a1839
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue