consul/lib/testhelpers/testhelpers.go
John Murret 3fa4a21edd
remove the skipping of slow tests in go-tests-ce and go-test-enterprise (#20139)
* remove the skipping of slow tests in go-tests-ce and go-test-enterprise

* add license header
2024-01-10 20:39:34 -07:00

15 lines
247 B
Go

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
package testhelpers
import (
"os"
"testing"
)
func SkipFlake(t *testing.T) {
if os.Getenv("RUN_FLAKEY_TESTS") != "true" {
t.Skip("Skipped because marked as flake.")
}
}