File tree Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Expand file tree Collapse file tree 2 files changed +13
-12
lines changed
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ static int nconns = 0;
46
46
static bool any_new_notice = false;
47
47
48
48
/* Maximum time to wait before giving up on a step (in usec) */
49
- static int64 max_step_wait = 300 * USECS_PER_SEC ;
49
+ static int64 max_step_wait = 360 * USECS_PER_SEC ;
50
50
51
51
52
52
static void check_testspec (TestSpec * testspec );
@@ -128,12 +128,12 @@ main(int argc, char **argv)
128
128
conninfo = "dbname = postgres" ;
129
129
130
130
/*
131
- * If PGISOLATIONTIMEOUT is set in the environment , adopt its value (given
132
- * in seconds) as the max time to wait for any one step to complete.
131
+ * If PG_TEST_TIMEOUT_DEFAULT is set, adopt its value (given in seconds)
132
+ * as half the max time to wait for any one step to complete.
133
133
*/
134
- env_wait = getenv ("PGISOLATIONTIMEOUT " );
134
+ env_wait = getenv ("PG_TEST_TIMEOUT_DEFAULT " );
135
135
if (env_wait != NULL )
136
- max_step_wait = ((int64 ) atoi (env_wait )) * USECS_PER_SEC ;
136
+ max_step_wait = 2 * ((int64 ) atoi (env_wait )) * USECS_PER_SEC ;
137
137
138
138
/* Read the test spec from stdin */
139
139
spec_yyparse ();
You can’t perform that action at this time.
0 commit comments