mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-09-07 16:47:13 +00:00
test/integration: run parallel tests concurrently with serial tests
Signed-off-by: Monis Khan <mok@vmware.com>
This commit is contained in:
@@ -5,8 +5,8 @@ package testlib
|
||||
|
||||
import "testing"
|
||||
|
||||
// SkipUnlessIntegration skips the current test if `-short` has been passed to `go test`.
|
||||
func SkipUnlessIntegration(t *testing.T) {
|
||||
// skipUnlessIntegration skips the current test if `-short` has been passed to `go test`.
|
||||
func skipUnlessIntegration(t *testing.T) {
|
||||
t.Helper()
|
||||
if testing.Short() {
|
||||
t.Skip("skipping integration test because of '-short' flag")
|
||||
|
||||
Reference in New Issue
Block a user