Skip to content

Commit

Permalink
Merge pull request #18443 from bparees/success
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue.

expect build success in test

give a better test failure reason when the build fails as seen in https://openshift-gce-devel.appspot.com/build/origin-ci-test/pr-logs/pull/18415/test_pull_request_origin_extended_builds/1042/
  • Loading branch information
openshift-merge-robot authored Feb 5, 2018
2 parents 0ac009a + a08b93b commit 6ff50ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/extended/builds/digest.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ func testBuildDigest(oc *exutil.CLI, buildFixture string, buildLogLevel uint) {
logLevelArg := fmt.Sprintf("--build-loglevel=%d", buildLogLevel)
g.By("starting a test build")
br, err := exutil.StartBuildAndWait(oc, "test", logLevelArg)
o.Expect(err).NotTo(o.HaveOccurred())
br.AssertSuccess()

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

0 comments on commit 6ff50ac

Please sign in to comment.