Skip to content

Commit 7da8fdd

Browse files
Update tests/fixture/bootstrapmonitor/e2e/e2e_test.go
Co-authored-by: Stephen Buttolph <[email protected]> Signed-off-by: marun <[email protected]>
1 parent f8c927b commit 7da8fdd

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/fixture/bootstrapmonitor/e2e/e2e_test.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,12 @@ var _ = ginkgo.Describe("[Bootstrap Tester]", func() {
155155
tc.Outf("Error determining image used by the %q container of pod %s.%s: %v \n", nodeContainerName, namespace, bootstrapPodName, err)
156156
return false
157157
}
158-
if strings.Contains(testConfig.Image, "sha256") {
159-
containerImage = testConfig.Image
160-
return true
158+
if !strings.Contains(testConfig.Image, "sha256") {
159+
return false
161160
}
162-
return false
161+
162+
containerImage = testConfig.Image
163+
return true
163164
}, e2e.DefaultTimeout, e2e.DefaultPollingInterval)
164165

165166
ginkgo.By(fmt.Sprintf("Waiting for the %q container to report the start of a bootstrap test", initContainerName))

0 commit comments

Comments
 (0)