Skip to content

Commit

Permalink
Update tests/fixture/bootstrapmonitor/e2e/e2e_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Stephen Buttolph <stephen@avalabs.org>
Signed-off-by: marun <maru.newby@avalabs.org>
  • Loading branch information
maru-ava and StephenButtolph committed Oct 1, 2024
1 parent f8c927b commit 7da8fdd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/fixture/bootstrapmonitor/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,12 @@ var _ = ginkgo.Describe("[Bootstrap Tester]", func() {
tc.Outf("Error determining image used by the %q container of pod %s.%s: %v \n", nodeContainerName, namespace, bootstrapPodName, err)
return false
}
if strings.Contains(testConfig.Image, "sha256") {
containerImage = testConfig.Image
return true
if !strings.Contains(testConfig.Image, "sha256") {
return false
}
return false

containerImage = testConfig.Image
return true
}, e2e.DefaultTimeout, e2e.DefaultPollingInterval)

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

0 comments on commit 7da8fdd

Please # to comment.