Skip to content

Commit

Permalink
Adding wait before updating adot package in e2e tests (#7849)
Browse files Browse the repository at this point in the history
  • Loading branch information
pokearu authored Mar 15, 2024
1 parent 3c7f895 commit 0e02f8e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/e2e/adot.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
package e2e

import (
"time"

"github.com/aws/eks-anywhere/pkg/kubeconfig"
"github.com/aws/eks-anywhere/test/framework"
)
Expand All @@ -30,6 +32,8 @@ func runCuratedPackagesAdotInstallWithUpdate(test *framework.ClusterE2ETest) {
kubeconfig.FromClusterName(test.ClusterName),
"--set mode=deployment")
test.VerifyAdotPackageInstalled(adotPackagePrefix+"-"+adotPackageName, adotTargetNamespace)
test.T.Log("Waiting before updating package")
time.Sleep(60 * time.Second)
test.VerifyAdotPackageDeploymentUpdated(adotPackagePrefix+"-"+adotPackageName, adotTargetNamespace)
test.VerifyAdotPackageDaemonSetUpdated(adotPackagePrefix+"-"+adotPackageName, adotTargetNamespace)
}
Expand Down

0 comments on commit 0e02f8e

Please sign in to comment.