From 79748dd9e591b59396964588cd2ddb400e85c995 Mon Sep 17 00:00:00 2001 From: Robin Linden Date: Sun, 17 Nov 2019 01:24:02 +0100 Subject: [PATCH] Allow Bazel to rerun tests marked as flaky --- auto_tests/BUILD.bazel | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/auto_tests/BUILD.bazel b/auto_tests/BUILD.bazel index eb9acb06..23b948e5 100644 --- a/auto_tests/BUILD.bazel +++ b/auto_tests/BUILD.bazel @@ -14,12 +14,22 @@ test_sizes = { "conference_peer_nick_test": "medium", } +flaky_tests = { + "crypto_core_test": True, + "lan_discovery_test": True, + "tcp_relay_test": True, +} + [cc_test( name = src[:-2], size = test_sizes.get( src[:-2], "small", ), + flaky = flaky_tests.get( + src[:-2], + False, + ), srcs = [src], args = ["$(location %s)" % src], copts = ["-Wno-sign-compare"],