Skip to content

Commit a48b72b

Browse files
Merge pull request #20799 from mfojtik/apps-60-raise-timeout
apps: raise trigger timeout for slow servers
2 parents 2d557d4 + 59043ca commit a48b72b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

test/extended/deployments/deployments.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ var _ = g.Describe("[Feature:DeploymentConfig] deploymentconfigs", func() {
405405
dc, err := oc.AppsClient().AppsV1().DeploymentConfigs(oc.Namespace()).Get(dcName, metav1.GetOptions{})
406406
o.Expect(err).NotTo(o.HaveOccurred())
407407
latestVersion := dc.Status.LatestVersion
408-
err = wait.PollImmediate(500*time.Millisecond, 10*time.Second, func() (bool, error) {
408+
err = wait.PollImmediate(500*time.Millisecond, 30*time.Second, func() (bool, error) {
409409
dc, err = oc.AppsClient().AppsV1().DeploymentConfigs(oc.Namespace()).Get(dcName, metav1.GetOptions{})
410410
o.Expect(err).NotTo(o.HaveOccurred())
411411
latestVersion = dc.Status.LatestVersion

test/extended/deployments/util.go

+6
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,12 @@ func failureTrap(oc *exutil.CLI, name string, failed bool) {
575575
}
576576
e2e.Logf("\n%s\n", out)
577577
}
578+
out, err = oc.Run("get").Args("istag", "-o", "wide").Output()
579+
if err != nil {
580+
e2e.Logf("Error getting image stream tags: %v", err)
581+
}
582+
e2e.Logf("\n%s\n", out)
583+
578584
}
579585

580586
func failureTrapForDetachedRCs(oc *exutil.CLI, dcName string, failed bool) {

0 commit comments

Comments
 (0)