mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
oauth: Remove timeout from t/002_client when not needed
The connect_timeout=1 setting for the --hang-forever test was left in place and used by later tests, causing unexpected timeouts on slower buildfarm animals. Remove it when no longer needed. Per buildfarm member skink, reported by Andres on Discord. Author: Jacob Champion <jacob.champion@enterprisedb.com> Reported-by: Andres Freund <andres@anarazel.de>
This commit is contained in:
@@ -122,6 +122,9 @@ test(
|
||||
flags => ["--hang-forever"],
|
||||
expected_stderr => qr/failed: timeout expired/);
|
||||
|
||||
# Remove the timeout for later tests.
|
||||
$common_connstr = "$base_connstr oauth_issuer=$issuer oauth_client_id=myID";
|
||||
|
||||
# Test various misbehaviors of the client hook.
|
||||
my @cases = (
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user