chore: Skip tests on circleci

This is derived from 2fd8264 and 4f850b5, which skips tests on appveyor
pull/19446/head
Stuart Carnie 2020-08-31 12:14:27 -07:00
parent f2205b37aa
commit a24edb2b1c
No known key found for this signature in database
GPG Key ID: 848D9C9718D78B4F
2 changed files with 4 additions and 4 deletions

View File

@ -11,8 +11,8 @@ 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.")
if testing.Short() || os.Getenv("GORACE") != "" || os.Getenv("APPVEYOR") != "" || os.Getenv("CIRCLECI") != "" {
t.Skip("Skipping test in short, race, circle and appveyor mode.")
}
// Short, less comprehensive test.

View File

@ -564,8 +564,8 @@ func TestCache_CacheWriteMemoryExceeded(t *testing.T) {
}
func TestCache_Deduplicate_Concurrent(t *testing.T) {
if testing.Short() || os.Getenv("GORACE") != "" || os.Getenv("APPVEYOR") != "" {
t.Skip("Skipping test in short, race, appveyor mode.")
if testing.Short() || os.Getenv("GORACE") != "" || os.Getenv("APPVEYOR") != "" || os.Getenv("CIRCLECI") != "" {
t.Skip("Skipping test in short, race, circleci and appveyor mode.")
}
values := make(map[string][]Value)