Skip to content

Commit

Permalink
add wait after replacing cilium in e2e test (aws#7737)
Browse files Browse the repository at this point in the history
  • Loading branch information
cxbrowne1207 authored Feb 29, 2024
1 parent 9e303a6 commit 0f8a3fd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/e2e/docker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1218,6 +1218,13 @@ func TestDockerCiliumSkipUpgrade_CLIUpgrade(t *testing.T) {
test.GenerateClusterConfig(framework.ExecuteWithEksaRelease(previousRelease))
test.CreateCluster(framework.ExecuteWithEksaRelease(previousRelease))
test.ReplaceCiliumWithOSSCilium()

t.Log("Waiting for cilium replacement to complete")
// Wait two minutes before validating cluster state and attempting the upgrade
// After replacing cilium, the nodes can temporarily go into a not ready state
// and we want to give them time to recover before validating the cluster state
time.Sleep(5 * time.Minute)

test.ValidateClusterState()
test.UpgradeClusterWithNewConfig(
[]framework.ClusterE2ETestOpt{
Expand Down

0 comments on commit 0f8a3fd

Please sign in to comment.