github.com/Schaudge/grailbase@v0.0.0-20240223061707-44c758a471c0/file/internal/readmatcher/rules.bzl (about) 1 load("@io_bazel_rules_go//go:def.bzl", _go_test = "go_test") 2 3 def go_test(**kwargs): 4 _go_test(**kwargs) 5 kwargs.pop("name") 6 _go_test( 7 name = "race_test", 8 race = "on", 9 # Run a smaller test under the race detector because execution is slower. 10 args = ["-data-bytes={}".format(1 << 24), "-stress-parallelism=2"], 11 **kwargs 12 )