Merge pull request #222 from ngrok/kmvachhani/fix-ci

fix: increase test timeout
This commit is contained in:
Krishna Vachhani
2026-02-18 15:57:13 -08:00
committed by GitHub
+1 -1
View File
@@ -45,7 +45,7 @@ func SetupAgent(t *testing.T) (ngrok.Agent, context.Context, context.CancelFunc)
require.NoError(t, err, "Failed to create agent")
// Start a context with timeout
ctx, cancel := context.WithTimeout(context.Background(), 2*time.Second)
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
// Connect the agent
err = agent.Connect(ctx)