Allow Bazel to rerun tests marked as flaky

This commit is contained in:
Robin Linden 2019-11-17 01:24:02 +01:00
parent f6235b5f8d
commit 79748dd9e5
No known key found for this signature in database
GPG Key ID: 601A604B7E605776

View File

@ -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"],