From 483ff3543746ca3dc97eac8f506564f4e617a8f2 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 1 Oct 2020 14:31:19 +0200 Subject: 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. --- prog/mutation_test.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'prog/mutation_test.go') diff --git a/prog/mutation_test.go b/prog/mutation_test.go index f17886a61..6dfa15d63 100644 --- a/prog/mutation_test.go +++ b/prog/mutation_test.go @@ -81,6 +81,9 @@ mutate_integer(0x0, 0x1, 0x1, 0x1, 0x0, 0x1, 0x0, 0x0, 0x1)`, } func TestMutateArgument(t *testing.T) { + if raceEnabled { + t.Skip("skipping in race mode, too slow") + } tests := [][2]string{ // Mutate an integer with a higher priority than the boolean arguments. { -- cgit mrf-deployment