@@ -1132,7 +1132,7 @@ var _ = SIGDescribe(framework.WithNodeConformance(), "Containers Lifecycle", fun
1132
1132
podSpec , err := client .Get (ctx , podSpec .Name , metav1.GetOptions {})
1133
1133
framework .ExpectNoError (err )
1134
1134
1135
- //subtract a buffer so that the pod still exists
1135
+ // subtract a buffer so that the pod still exists
1136
1136
gomega .Consistently (ctx , func () bool {
1137
1137
podSpec , err = client .Get (ctx , podSpec .Name , metav1.GetOptions {})
1138
1138
framework .ExpectNoError (err )
@@ -1911,7 +1911,7 @@ var _ = SIGDescribe(nodefeature.SidecarContainers, "Containers Lifecycle", func(
1911
1911
})
1912
1912
})
1913
1913
1914
- //Same as restartPolicy=Always
1914
+ // Same as restartPolicy=Always
1915
1915
ginkgo .It ("Should begin initializing the pod, restartPolicy=OnFailure" , func (ctx context.Context ) {
1916
1916
originalPodSpec .Spec .RestartPolicy = v1 .RestartPolicyOnFailure
1917
1917
originalPodSpec .Name = "restartable-init-container-initialization-imgupdate-onfailure"
@@ -2015,7 +2015,7 @@ var _ = SIGDescribe(nodefeature.SidecarContainers, "Containers Lifecycle", func(
2015
2015
framework .ExpectNoError (err )
2016
2016
})
2017
2017
2018
- //Init containers don't restart when restartPolicy=Never
2018
+ // Init containers don't restart when restartPolicy=Never
2019
2019
ginkgo .By ("Waiting for the pod to fail" , func () {
2020
2020
err := e2epod .WaitForPodTerminatedInNamespace (ctx , f .ClientSet , pod .Name , "" , pod .Namespace )
2021
2021
framework .ExpectNoError (err )
@@ -4250,8 +4250,8 @@ var _ = SIGDescribe(nodefeature.SidecarContainers, "Containers Lifecycle", func(
4250
4250
pod .Spec .InitContainers [1 ].Image = updatedImage
4251
4251
})
4252
4252
4253
- //TODO verify this is the intended behavior
4254
- //during termination of the regular and last restartable init container
4253
+ // FIXME Consistently: this will be implemented in KEP 4438
4254
+ // During termination of the regular and last restartable init container
4255
4255
ginkgo .By ("ensuring the restartable init container does not restart during termination" , func () {
4256
4256
gomega .Consistently (ctx , func () bool {
4257
4257
pod , err = client .Get (ctx , pod .Name , metav1.GetOptions {})
0 commit comments