BUG: Extending all timeouts to help out slower machines.

This commit is contained in:
Brad King 2005-04-28 09:21:03 -04:00
parent 234d08682c
commit 91c254d708
1 changed files with 3 additions and 3 deletions

View File

@ -57,9 +57,9 @@ int test3(int argc, const char* argv[])
fflush(stdout); fflush(stdout);
fflush(stderr); fflush(stderr);
#if defined(_WIN32) #if defined(_WIN32)
Sleep(5000); Sleep(15000);
#else #else
sleep(5); sleep(15);
#endif #endif
fprintf(stdout, "Output after sleep on stdout from timeout test.\n"); fprintf(stdout, "Output after sleep on stdout from timeout test.\n");
fprintf(stderr, "Output after sleep on stderr from timeout test.\n"); fprintf(stderr, "Output after sleep on stderr from timeout test.\n");
@ -293,7 +293,7 @@ int main(int argc, const char* argv[])
int values[6] = {0, 123, 1, 1, 0, 0}; int values[6] = {0, 123, 1, 1, 0, 0};
int outputs[6] = {1, 1, 1, 1, 1, 0}; int outputs[6] = {1, 1, 1, 1, 1, 0};
int delays[6] = {0, 0, 0, 0, 0, 1}; int delays[6] = {0, 0, 0, 0, 0, 1};
double timeouts[6] = {3, 3, 3, 3, 30, 3}; double timeouts[6] = {10, 10, 10, 10, 30, 10};
int r; int r;
const char* cmd[4]; const char* cmd[4];
cmd[0] = argv[0]; cmd[0] = argv[0];