Skip to content

Commit 46c4c7c

Browse files
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>
1 parent 8ae0a37 commit 46c4c7c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/modules/oauth_validator/t/002_client.pl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ sub test
122122
flags => ["--hang-forever"],
123123
expected_stderr => qr/failed: timeout expired/);
124124

125+
# Remove the timeout for later tests.
126+
$common_connstr = "$base_connstr oauth_issuer=$issuer oauth_client_id=myID";
127+
125128
# Test various misbehaviors of the client hook.
126129
my @cases = (
127130
{

0 commit comments

Comments
 (0)