mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
update test for feature gate
This commit is contained in:
parent
d8fe255f41
commit
513bd93f76
@ -6044,6 +6044,8 @@ func TestValidateProbe(t *testing.T) {
|
||||
}
|
||||
|
||||
func Test_validateProbe(t *testing.T) {
|
||||
defer featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.ProbeTerminationGracePeriod, true)()
|
||||
|
||||
fldPath := field.NewPath("test")
|
||||
type args struct {
|
||||
probe *core.Probe
|
||||
|
Loading…
Reference in New Issue
Block a user