Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
coeuvre committed Jan 16, 2023
1 parent 7501b92 commit ba8b0bb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/test/shell/bazel/remote/build_without_the_bytes_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1583,7 +1583,7 @@ EOF
expect_log "bin-message"
}

function test_java_rbe_coverage_produces_report_with_remote_download_minimal() {
function test_java_rbe_coverage_produces_report() {
mkdir -p java/factorial

JAVA_TOOLS_ZIP="released"
Expand Down Expand Up @@ -1642,6 +1642,10 @@ EOF
--instrumentation_filter=//java/factorial \
//java/factorial:fact-test &> $TEST_log || fail "Shouldn't fail"

# Test binary shouldn't be downloaded
[[ ! -e "bazel-bin/java/factorial/libfact.jar" ]] || fail "bazel-bin/java/factorial/libfact.jar shouldn't exist!"
[[ ! -e "bazel-bin/java/factorial/fact-test" ]] || fail "bazel-bin/java/factorial/fact-test.jar shouldn't exist!"

local expected_result="SF:java/factorial/Factorial.java
FN:2,factorial/Factorial::<init> ()V
FN:4,factorial/Factorial::factorial (I)I
Expand Down

0 comments on commit ba8b0bb

Please sign in to comment.