Don't run test in race mode

pull/9150/head
Edd Robinson 2017-12-15 22:19:25 +00:00
parent 42ba4831ba
commit 2fd82645d8
1 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,7 @@ package bloom_test
import (
"encoding/binary"
"fmt"
"os"
"testing"
"github.com/influxdata/influxdb/pkg/bloom"
@ -10,6 +11,10 @@ import (
// Ensure filter can insert values and verify they exist.
func TestFilter_InsertContains(t *testing.T) {
if testing.Short() || os.Getenv("GORACE") != "" || os.Getenv("APPVEYOR") != "" {
t.Skip("Skipping test in short, race and appveyor mode.")
}
// Short, less comprehensive test.
testShortFilter_InsertContains(t)