Skip to content

Commit

Permalink
Adding wait before updating adot package in e2e tests (#7850)
Browse files Browse the repository at this point in the history
Co-authored-by: Aravind Ramalingam <ramaliar@amazon.com>
  • Loading branch information
eks-distro-pr-bot and pokearu committed Mar 15, 2024
1 parent 9542443 commit e2b76ec
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 e2b76ec

Please sign in to comment.