Don't run test in race mode
parent
42ba4831ba
commit
2fd82645d8
|
@ -3,6 +3,7 @@ package bloom_test
|
||||||
import (
|
import (
|
||||||
"encoding/binary"
|
"encoding/binary"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"os"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/influxdata/influxdb/pkg/bloom"
|
"github.com/influxdata/influxdb/pkg/bloom"
|
||||||
|
@ -10,6 +11,10 @@ import (
|
||||||
|
|
||||||
// Ensure filter can insert values and verify they exist.
|
// Ensure filter can insert values and verify they exist.
|
||||||
func TestFilter_InsertContains(t *testing.T) {
|
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.
|
// Short, less comprehensive test.
|
||||||
testShortFilter_InsertContains(t)
|
testShortFilter_InsertContains(t)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue