mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-03 11:48:15 +00:00
ktesting: add Underlier type alias
This may help avoid importing both this ktesting and klog's ktesting.
This commit is contained in:
@@ -35,6 +35,10 @@ import (
|
||||
"k8s.io/kubernetes/test/utils/ktesting/internal"
|
||||
)
|
||||
|
||||
// Underlier is the additional interface implemented by the per-test LogSink
|
||||
// behind [TContext.Logger].
|
||||
type Underlier = ktesting.Underlier
|
||||
|
||||
// CleanupGracePeriod is the time that a [TContext] gets canceled before the
|
||||
// deadline of its underlying test suite (usually determined via "go test
|
||||
// -timeout"). This gives the running test(s) time to fail with an informative
|
||||
|
||||
Reference in New Issue
Block a user