Skip to content

Commit

Permalink
*: enable more race and set timeout for test (#42371)
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkingrei committed Mar 20, 2023
1 parent 8982c03 commit fc166ff
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions br/pkg/backup/BUILD.bazel
Expand Up @@ -66,6 +66,7 @@ go_test(
],
embed = [":backup"],
flaky = True,
race = "on",
deps = [
"//br/pkg/conn",
"//br/pkg/gluetidb",
Expand Down
1 change: 1 addition & 0 deletions br/pkg/checkpoint/BUILD.bazel
Expand Up @@ -25,6 +25,7 @@ go_test(
timeout = "short",
srcs = ["checkpoint_test.go"],
flaky = True,
race = "on",
deps = [
":checkpoint",
"//br/pkg/rtree",
Expand Down
1 change: 1 addition & 0 deletions ddl/ingest/BUILD.bazel
Expand Up @@ -52,6 +52,7 @@ go_test(
"mem_root_test.go",
],
flaky = True,
race = "on",
deps = [
":ingest",
"//config",
Expand Down
1 change: 1 addition & 0 deletions ddl/placement/BUILD.bazel
Expand Up @@ -35,6 +35,7 @@ go_test(
],
embed = [":placement"],
flaky = True,
race = "on",
deps = [
"//kv",
"//meta",
Expand Down
2 changes: 2 additions & 0 deletions executor/importer/BUILD.bazel
Expand Up @@ -20,8 +20,10 @@ go_library(

go_test(
name = "importer_test",
timeout = "short",
srcs = ["import_test.go"],
embed = [":importer"],
flaky = True,
deps = [
"//br/pkg/lightning/config",
"//expression",
Expand Down
1 change: 1 addition & 0 deletions executor/issuetest/BUILD.bazel
Expand Up @@ -8,6 +8,7 @@ go_test(
"main_test.go",
],
flaky = True,
race = "on",
shard_count = 50,
deps = [
"//autoid_service",
Expand Down
1 change: 1 addition & 0 deletions session/bootstraptest/BUILD.bazel
Expand Up @@ -8,6 +8,7 @@ go_test(
"main_test.go",
],
flaky = True,
race = "on",
deps = [
"//config",
"//session", #keep
Expand Down
3 changes: 2 additions & 1 deletion session/nontransactionaltest/BUILD.bazel
Expand Up @@ -8,7 +8,8 @@ go_test(
"nontransactional_test.go",
],
flaky = True,
shard_count = 20,
race = "on",
shard_count = 23,
deps = [
"//config",
"//testkit",
Expand Down
1 change: 1 addition & 0 deletions session/temporarytabletest/BUILD.bazel
Expand Up @@ -8,6 +8,7 @@ go_test(
"temporary_table_test.go",
],
flaky = True,
race = "on",
shard_count = 15,
deps = [
"//config",
Expand Down

0 comments on commit fc166ff

Please sign in to comment.