Added a 20 minute timeout to prevent deadlocks and other problems from blocking the test.

This commit is contained in:
Sears Russell 2006-10-05 01:00:10 +00:00
parent 8092fcb5a5
commit a3e3ad2453

View file

@ -257,7 +257,7 @@ Suite * check_suite(void) {
Suite *s = suite_create("bufferManager");
/* Begin a new test */
TCase *tc = tcase_create("multithreaded");
tcase_set_timeout(tc, 0); // disable timeouts
tcase_set_timeout(tc, 1200); // twenty minute timeout
/* Sub tests are added, one per line, here */
tcase_add_test(tc, pageSingleThreadTest);
tcase_add_test(tc, pageSingleThreadWriterTest);