aboutsummaryrefslogtreecommitdiffstats
path: root/prog/prog_test.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-10-01 14:31:19 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-10-01 15:03:39 +0200
commit483ff3543746ca3dc97eac8f506564f4e617a8f2 (patch)
treee6d6dc8515198bc2fbbfa66cc69fc9ea3812dbe4 /prog/prog_test.go
parent8441eb82f3a1a4d03eb0e194e91bc86017ab4466 (diff)
prog: reduce size of tests in race mode
More race timeouts on CI. Exclude more tests. This reduces prog test time fron 81 to 15 sec with GOMAXPROCS=1.
Diffstat (limited to 'prog/prog_test.go')
-rw-r--r--prog/prog_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/prog/prog_test.go b/prog/prog_test.go
index cff8bc1a0..6586d1a1d 100644
--- a/prog/prog_test.go
+++ b/prog/prog_test.go
@@ -142,6 +142,9 @@ func TestVmaType(t *testing.T) {
// deserialized for another arch. This happens when managers exchange
// programs via hub.
func TestCrossTarget(t *testing.T) {
+ if raceEnabled {
+ t.Skip("skipping in race mode, too slow")
+ }
t.Parallel()
const OS = "linux"
var archs []string