From 65c03c649084f9a7b54d172dc14f442e68b3aab0 Mon Sep 17 00:00:00 2001 From: Jacob Champion Date: Thu, 3 Apr 2025 10:12:45 -0700 Subject: [PATCH 2/2] oauth: Remove unneeded timeouts from t/002_client The connect_timeout=1 setting for the --hang-forever test was kept in place for later tests, causing unexpected timeouts on slower buildfarm animals. Remove it. Reported-by: Andres Freund --- src/test/modules/oauth_validator/t/002_client.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/modules/oauth_validator/t/002_client.pl b/src/test/modules/oauth_validator/t/002_client.pl index ab83258d736..54769f12f57 100644 --- a/src/test/modules/oauth_validator/t/002_client.pl +++ b/src/test/modules/oauth_validator/t/002_client.pl @@ -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 = ( { -- 2.34.1