Skip to content

Commit

Permalink
check GreaterOrEqual to account for log collector
Browse files Browse the repository at this point in the history
  • Loading branch information
miampf committed Dec 6, 2024
1 parent 4ae669e commit 905e771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/aks-runtime/aks_runtime_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func TestAKSRuntime(t *testing.T) {

pods, err := c.Client.CoreV1().Pods(namespace).List(ctx, metav1.ListOptions{})
require.NoError(err)
require.Len(pods.Items, 1)
require.GreaterOrEqual(len(pods.Items), 1)
pod := pods.Items[0] // only one pod was deployed

logs, err := c.Client.CoreV1().Pods(namespace).GetLogs(pod.Name, &corev1.PodLogOptions{}).DoRaw(ctx)
Expand Down

0 comments on commit 905e771

Please sign in to comment.