ktesting: add Underlier type alias

This may help avoid importing both this ktesting and klog's ktesting.
This commit is contained in:
Patrick Ohly 2024-02-22 11:42:48 +01:00
parent fe10bfb044
commit dc6abc3ff8

View File

@ -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