add progress rate limit to reduce stdout
@@ -211,7 +211,7 @@ def platforms_info():
def flaky_test_meme_url():
urls = ["https://storage.googleapis.com/bazel-buildkite-memes/flaky_tests_1.jpg",
- "https://storage.googleapis.com/bazel-buildkite-memes/flaky_tests_1.jpg"]
+ "https://storage.googleapis.com/bazel-buildkite-memes/flaky_tests_2.jpg"]
return random.choice(urls)
@@ -409,7 +409,7 @@ def execute_bazel_build(bazel_binary, platform, flags, targets):
return
print_expanded_group("Build")
num_jobs = str(multiprocessing.cpu_count())
- common_flags = ["--curses=yes", "--color=yes", "--keep_going",
+ common_flags = ["--show_progress_rate_limit=5", "--curses=yes", "--color=yes", "--keep_going",
"--verbose_failures", "--jobs=" + num_jobs]
execute_command([bazel_binary, "build"] + common_flags + remote_caching_flags(platform) + flags + targets)
@@ -419,7 +419,7 @@ def execute_bazel_test(bazel_binary, platform, flags, targets, bep_file):
return 0
print_expanded_group("Test")
num_jobs = str(multiprocessing.cpu_count())
- common_flags = ["--curses=yes", "--color=yes", "--keep_going", "--verbose_failures",
+ common_flags = ["--show_progress_rate_limit=5", "--curses=yes", "--color=yes", "--keep_going", "--verbose_failures",
"--flaky_test_attempts=3", "--build_tests_only",
"--jobs=" + num_jobs, "--local_test_jobs=" + num_jobs,
"--build_event_json_file=" + bep_file]
