mirror of
https://github.com/ngrok/ngrok-go.git
synced 2026-05-17 16:50:45 +00:00
Merge pull request #222 from ngrok/kmvachhani/fix-ci
fix: increase test timeout
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user