Skip to content

Commit

Permalink
wip: break TestKubernetesAgentStandalone test
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoutsovasilis committed Jul 19, 2024
1 parent 9e51c85 commit 3cdebd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testing/integration/kubernetes_agent_standalone_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ func TestKubernetesAgentStandalone(t *testing.T) {

// Wait for pods to be ready
require.Eventually(t, func() bool {
return false
podList := &corev1.PodList{}

Check failure on line 137 in testing/integration/kubernetes_agent_standalone_test.go

View workflow job for this annotation

GitHub Actions / lint (macos-latest)

unreachable: unreachable code (govet)
err := client.Resources(namespace).List(ctx, podList)
require.NoError(t, err)
Expand All @@ -156,7 +157,7 @@ func TestKubernetesAgentStandalone(t *testing.T) {
}

return true
}, time.Second*100, time.Second*1, "Timed out waiting for pods to be ready")
}, time.Second*10, time.Second*1, "Timed out waiting for pods to be ready")
}

func dumpLogs(t *testing.T, ctx context.Context, client klient.Client, namespace string, targetDir string) {
Expand Down

0 comments on commit 3cdebd3

Please sign in to comment.