Skip to content

Commit a08b93b

Browse files
committed
expect build success in test
1 parent 1927cae commit a08b93b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/extended/builds/digest.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ func testBuildDigest(oc *exutil.CLI, buildFixture string, buildLogLevel uint) {
7070
logLevelArg := fmt.Sprintf("--build-loglevel=%d", buildLogLevel)
7171
g.By("starting a test build")
7272
br, err := exutil.StartBuildAndWait(oc, "test", logLevelArg)
73+
o.Expect(err).NotTo(o.HaveOccurred())
74+
br.AssertSuccess()
7375

7476
g.By("checking that the image digest has been saved to the build status")
7577
o.Expect(br.Build.Status.Output.To).NotTo(o.BeNil())

0 commit comments

Comments
 (0)