mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +00:00
ktesting: add Underlier type alias
This may help avoid importing both this ktesting and klog's ktesting.
This commit is contained in:
parent
fe10bfb044
commit
dc6abc3ff8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user