Merge pull request #9078 from influxdata/er-race-tests

Skip cardinality tests in race mode
pull/9085/head
Edd Robinson 2017-11-07 19:52:30 +00:00 committed by GitHub
commit 081d0649a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -7261,6 +7261,10 @@ func TestServer_Query_ShowSeries(t *testing.T) {
}
func TestServer_Query_ShowSeriesCardinalityEstimation(t *testing.T) {
if testing.Short() || os.Getenv("GORACE") != "" || os.Getenv("APPVEYOR") != "" {
t.Skip("Skipping test in short, race and appveyor mode.")
}
t.Parallel()
s := OpenServer(NewConfig())
defer s.Close()
@ -7626,8 +7630,8 @@ func TestServer_Query_ShowMeasurements(t *testing.T) {
}
func TestServer_Query_ShowMeasurementCardinalityEstimation(t *testing.T) {
if testing.Short() {
t.Skip("skipping expensive test")
if testing.Short() || os.Getenv("GORACE") != "" || os.Getenv("APPVEYOR") != "" {
t.Skip("Skipping test in short, race and appveyor mode.")
}
t.Parallel()