apps: update generations in extended test
@@ -591,10 +591,10 @@ var _ = g.Describe("[Feature:DeploymentConfig] deploymentconfigs", func() {
generation = strings.Trim(generation, "\"")
g.By(fmt.Sprintf("checking the generation for %s: %s", resource, generation))
- return strings.Contains(generation, "2") && strings.Contains(version, "1"), nil
+ return strings.Contains(generation, "1") && strings.Contains(version, "1"), nil
})
if err == wait.ErrWaitTimeout {
- err = fmt.Errorf("expected generation: 2, got: %s, expected latestVersion: 1, got: %s", generation, version)
+ err = fmt.Errorf("expected generation: 1, got: %s, expected latestVersion: 1, got: %s", generation, version)
}
o.Expect(err).NotTo(o.HaveOccurred())
@@ -613,10 +613,10 @@ var _ = g.Describe("[Feature:DeploymentConfig] deploymentconfigs", func() {
generation = strings.Trim(generation, "\"")
g.By(fmt.Sprintf("checking the generation for %s: %s", resource, generation))
- return strings.Contains(generation, "3"), nil
+ return strings.Contains(generation, "2"), nil
})
if err == wait.ErrWaitTimeout {
- err = fmt.Errorf("expected generation: 3, got: %s", generation)
+ err = fmt.Errorf("expected generation: 2, got: %s", generation)
}
o.Expect(err).NotTo(o.HaveOccurred())
@@ -640,10 +640,10 @@ var _ = g.Describe("[Feature:DeploymentConfig] deploymentconfigs", func() {
generation = strings.Trim(generation, "\"")
g.By(fmt.Sprintf("checking the generation for %s: %s", resource, generation))
- return strings.Contains(generation, "4") && strings.Contains(version, "2"), nil
+ return strings.Contains(generation, "3") && strings.Contains(version, "2"), nil
})
if err == wait.ErrWaitTimeout {
- err = fmt.Errorf("expected generation: 4, got: %s, expected latestVersion: 2, got: %s", generation, version)
+ err = fmt.Errorf("expected generation: 3, got: %s, expected latestVersion: 2, got: %s", generation, version)
}
o.Expect(err).NotTo(o.HaveOccurred())
