Skip to content

Commit

Permalink
Fix flaky test relying on map ordering (#490)
Browse files Browse the repository at this point in the history
allow unordered
  • Loading branch information
alexmasi authored Feb 1, 2024
1 parent bf42d07 commit b0e9ef5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cluster/kind/kind_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,8 @@ func TestRefreshGARAccess(t *testing.T) {
{Cmd: "kubectl", Args: []string{"config", "current-context"}, Stdout: "kind-kne"},
{Cmd: "kind", Args: []string{"get", "nodes", "--name", "kne"}, Stdout: "kne-control-plane"},
{Cmd: "docker", Args: []string{"exec", "kne-control-plane", "cat", "/var/lib/kubelet/config.json"}, Stdout: `{"auths": {"us-west1-docker.pkg.dev": {}, "us-central1-docker.pkg.dev": {}}}`},
{Cmd: "docker", Args: []string{"login", "-u", "oauth2accesstoken", "--password-stdin", "https://us-west1-docker.pkg.dev"}},
{Cmd: "docker", Args: []string{"login", "-u", "oauth2accesstoken", "--password-stdin", "https://us-central1-docker.pkg.dev"}},
{Cmd: "docker", Args: []string{"login", "-u", "oauth2accesstoken", "--password-stdin", "https://us-west1-docker.pkg.dev"}, OutOfOrder: true},
{Cmd: "docker", Args: []string{"login", "-u", "oauth2accesstoken", "--password-stdin", "https://us-central1-docker.pkg.dev"}, OutOfOrder: true},
{Cmd: "kubectl", Args: []string{"config", "current-context"}, Stdout: "kind-kne"},
{Cmd: "kind", Args: []string{"get", "nodes", "--name", "kne"}, Stdout: "kne-control-plane"},
{Cmd: "docker", Args: []string{"cp", ".*/config.json", "kne-control-plane:/var/lib/kubelet/config.json"}},
Expand Down

0 comments on commit b0e9ef5

Please sign in to comment.