mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +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) {
|
func Test_validateProbe(t *testing.T) {
|
||||||
|
defer featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.ProbeTerminationGracePeriod, true)()
|
||||||
|
|
||||||
fldPath := field.NewPath("test")
|
fldPath := field.NewPath("test")
|
||||||
type args struct {
|
type args struct {
|
||||||
probe *core.Probe
|
probe *core.Probe
|
||||||
|
Loading…
Reference in New Issue
Block a user