Skip to content

Commit

Permalink
Fix flay TestIntegrations/ProxyHostKeyCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
rosstimothy authored and github-actions committed Oct 25, 2024
1 parent 8a4d4fc commit 7a865c2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4908,6 +4908,13 @@ func testProxyHostKeyCheck(t *testing.T, suite *integrationTestSuite) {
_, err = clt.UpsertNode(context.Background(), server)
require.NoError(t, err)

// Wait for the node to be visible before continuing.
require.EventuallyWithT(t, func(t *assert.CollectT) {
found, err := clt.GetNodes(context.Background(), defaults.Namespace)
assert.NoError(t, err)
assert.Len(t, found, 2)
}, 10*time.Second, 100*time.Millisecond)

_, err = runCommand(t, instance, []string{"echo hello"}, clientConfig, 1)

// check if we were able to exec the command or not
Expand Down

0 comments on commit 7a865c2

Please sign in to comment.