Skip to content

Commit

Permalink
chore: increase timeout of migration to 20 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
strivedi-px committed Oct 29, 2024
1 parent 84965d9 commit 121223d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/integration_test/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const (
zoneScore = 25
regionScore = 10

defaultWaitTimeout time.Duration = 15 * time.Minute
defaultWaitTimeout time.Duration = 20 * time.Minute
clusterDomainWaitTimeout time.Duration = 15 * time.Minute
groupSnapshotWaitTimeout time.Duration = 15 * time.Minute
defaultWaitInterval time.Duration = 10 * time.Second
Expand Down
4 changes: 3 additions & 1 deletion test/integration_test/operator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,11 @@ func validateAndDestroyCrMigration(t *testing.T, appName string, appPath string)
log.FailOnError(t, err, "failed to set kubeconfig to source cluster: %v", err)

appData := asyncdr.GetAppData(appName)
podsCreated, err := asyncdr.PrepareApp(appName, appPath)
_, err = asyncdr.PrepareApp(appName, appPath)
log.FailOnError(t, err, "Error creating pods")

podsCreated, err := core.Instance().GetPods(appData.Ns, nil)
log.FailOnError(t, err, "Error getting podlist, err: %v", err)
podsCreatedLen := len(podsCreated.Items)
log.InfoD("podsCreatedLen: %v", podsCreatedLen)
sourceClusterConfigPath, err := getClusterConfigPath(srcConfig)
Expand Down

0 comments on commit 121223d

Please sign in to comment.