File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4115,7 +4115,7 @@ func TestValidateAllowPodLifecycleSleepActionZeroValue(t *testing.T) {
4115
4115
{
4116
4116
name : "no lifecycle hooks" ,
4117
4117
podSpec : & api.PodSpec {},
4118
- expectAllowPodLifecycleSleepActionZeroValue : false ,
4118
+ expectAllowPodLifecycleSleepActionZeroValue : true ,
4119
4119
},
4120
4120
{
4121
4121
name : "Prestop with non-zero second duration" ,
@@ -4132,7 +4132,7 @@ func TestValidateAllowPodLifecycleSleepActionZeroValue(t *testing.T) {
4132
4132
},
4133
4133
},
4134
4134
},
4135
- expectAllowPodLifecycleSleepActionZeroValue : false ,
4135
+ expectAllowPodLifecycleSleepActionZeroValue : true ,
4136
4136
},
4137
4137
{
4138
4138
name : "PostStart with non-zero second duration" ,
@@ -4149,7 +4149,7 @@ func TestValidateAllowPodLifecycleSleepActionZeroValue(t *testing.T) {
4149
4149
},
4150
4150
},
4151
4151
},
4152
- expectAllowPodLifecycleSleepActionZeroValue : false ,
4152
+ expectAllowPodLifecycleSleepActionZeroValue : true ,
4153
4153
},
4154
4154
{
4155
4155
name : "PreStop with zero seconds" ,
You can’t perform that action at this time.
0 commit comments