mirror of https://github.com/hashicorp/consul
Browse Source
* remove the skipping of slow tests in go-tests-ce and go-test-enterprise * add license headerpull/20167/head
John Murret
11 months ago
committed by
GitHub
3 changed files with 17 additions and 2 deletions
@ -0,0 +1,14 @@ |
|||||||
|
// 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.") |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue