Skip to content

Commit

Permalink
Fix sandboxing tests after changes to the error messages
Browse files Browse the repository at this point in the history
Fixes bazelbuild#3373.

PiperOrigin-RevId: 161799558
  • Loading branch information
ulfjack authored and laszlocsomor committed Jul 14, 2017
1 parent 97d6708 commit 597fb75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/shell/bazel/bazel_sandboxing_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ EOF
expect_not_log "Executing genrule //:test failed: linux-sandbox failed: error executing command"

# This is the error message telling us that some output artifacts couldn't be copied.
expect_log "Could not move output artifacts from sandboxed execution.*(Permission denied)"
expect_log "Could not move output artifacts from sandboxed execution."

# The build fails, because the action didn't generate its output artifact.
expect_log "ERROR:.*Executing genrule //:test failed"
Expand All @@ -521,7 +521,7 @@ EOF

# This is the error message printed by the EventHandler telling us that some
# output artifacts couldn't be copied.
expect_log "ERROR: I/O exception while extracting output artifacts from sandboxed execution.*(Permission denied)"
expect_log "Could not move output artifacts from sandboxed execution"

# This is the UserExecException telling us that the build failed.
expect_log "Executing genrule //:test failed:"
Expand Down

0 comments on commit 597fb75

Please sign in to comment.