commit | 1b77545d85b42caafb0dfc3310d8582c5816f5dc | [log] [tgz] |
---|---|---|
author | Jakob Buchgraber <buchgr@google.com> | Mon Feb 19 20:44:13 2018 +0100 |
committer | Jakob Buchgraber <buchgr@google.com> | Mon Feb 19 20:44:13 2018 +0100 |
tree | 76f506ed9fb8cce5a0736b863a2ce9ae46b3c877 | |
parent | 81cb345c11fea3549d5420cbb622b07af4d2b667 [diff] |
pass bep_file to has_flaky_tests
diff --git a/buildkite/bazelci.py b/buildkite/bazelci.py index 5d52c38..00f0a9e 100644 --- a/buildkite/bazelci.py +++ b/buildkite/bazelci.py
@@ -279,7 +279,7 @@ config.get("test_targets", None), bep_file) print("\nAfter Execute Test\n") # Fail the pipeline if there were any flaky tests. - if has_flaky_tests() and exit_code == 0: + if has_flaky_tests(bep_file) and exit_code == 0: exit_code = 1 print("\nBefore Upload Test\n") upload_test_logs(bep_file, tmpdir)