add integration test for graceful shutdowns which release leader leases

This commit is contained in:
Ryan Richard
2023-09-25 09:51:17 -07:00
parent ca6c29e463
commit 5e06c6d5ad
4 changed files with 275 additions and 20 deletions
+3 -3
View File
@@ -1,12 +1,12 @@
// Copyright 2020-2022 the Pinniped contributors. All Rights Reserved.
// Copyright 2020-2023 the Pinniped contributors. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
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() {