mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 13:55:55 +00:00
3fa4a21edd
* remove the skipping of slow tests in go-tests-ce and go-test-enterprise * add license header
15 lines
247 B
Go
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.")
|
|
}
|
|
}
|