Skip to content

Commit

Permalink
use require.Len
Browse files Browse the repository at this point in the history
  • Loading branch information
miampf committed Oct 29, 2024
1 parent 585189d commit 7f438df
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 @@ -123,7 +123,7 @@ func TestAKSRuntime(t *testing.T) {

pods, err := c.Client.CoreV1().Pods(namespace).List(ctx, metav1.ListOptions{})
require.NoError(err)
require.Equal(len(pods.Items), 1)
require.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 7f438df

Please sign in to comment.