Skip to content

Commit

Permalink
Extend agentless node creation timeout. (#47641)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joerger authored Oct 16, 2024
1 parent 5d27bf8 commit d1b386e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/teleport/testenv/test_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ func CreateAgentlessNode(t *testing.T, authServer *auth.Server, clusterName, nod
require.NoError(t, err)

// wait for node resource to be written to the backend
timedCtx, cancel := context.WithTimeout(ctx, time.Second)
timedCtx, cancel := context.WithTimeout(ctx, 5*time.Second)
t.Cleanup(cancel)
w, err := authServer.NewWatcher(timedCtx, types.Watch{
Name: "node-create watcher",
Expand Down

0 comments on commit d1b386e

Please sign in to comment.