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 5edcb5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/aks-runtime/aks_runtime_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2024 Edgeless Systems GmbH
// SPDX-License-Identifier: AGPL-3.0-only

//go:build e2e
///go:build e2e

package aksruntime

Expand Down 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 5edcb5d

Please sign in to comment.