tests: increase TEST_HANG_TIMEOUT in two tests

These tests had a 5 second timeout compared to 60 seconds for all other
tests. Make these consistent with the others for more reliability on
heavily-loaded machines.

Ref: #11328
This commit is contained in:
Dan Fandrich 2023-09-12 23:30:56 -07:00
Родитель 223f601c04
Коммит c725ec72a3
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -29,7 +29,7 @@
#include "warnless.h"
#include "memdebug.h"
#define TEST_HANG_TIMEOUT 5 * 1000
#define TEST_HANG_TIMEOUT 60 * 1000
/*
* Test case for below scenario:
@ -101,7 +101,7 @@ int test(char *URL)
interval.tv_usec = (itimeout%1000)*1000;
}
else {
interval.tv_sec = TEST_HANG_TIMEOUT/1000 + 1;
interval.tv_sec = TEST_HANG_TIMEOUT/1000 - 1;
interval.tv_usec = 0;
}

Просмотреть файл

@ -30,7 +30,7 @@
#include "warnless.h"
#include "memdebug.h"
#define TEST_HANG_TIMEOUT 5 * 1000
#define TEST_HANG_TIMEOUT 60 * 1000
#define MAX_EASY_HANDLES 3
static int counter[MAX_EASY_HANDLES];