@@ -1631,7 +1631,7 @@ var _ = SIGDescribe(nodefeature.SidecarContainers, "Containers Lifecycle", func(
1631
1631
results = parseOutput (context .TODO (), f , podSpec )
1632
1632
})
1633
1633
ginkgo .It ("should not restart a restartable init container" , func () {
1634
- framework .ExpectNoError (results .DoesntStartAfter (restartableInit1 , regular1 ))
1634
+ framework .ExpectNoError (results .HasNotRestarted (restartableInit1 ))
1635
1635
})
1636
1636
ginkgo .It ("should run a regular container to completion" , func () {
1637
1637
framework .ExpectNoError (results .Exits (regular1 ))
@@ -2033,7 +2033,7 @@ var _ = SIGDescribe(nodefeature.SidecarContainers, "Containers Lifecycle", func(
2033
2033
results = parseOutput (context .TODO (), f , podSpec )
2034
2034
})
2035
2035
ginkgo .It ("should not restart a restartable init container" , func () {
2036
- framework .ExpectNoError (results .DoesntStartAfter (restartableInit1 , regular1 ))
2036
+ framework .ExpectNoError (results .HasNotRestarted (restartableInit1 ))
2037
2037
})
2038
2038
ginkgo .It ("should run a regular container to completion" , func () {
2039
2039
framework .ExpectNoError (results .Exits (regular1 ))
@@ -2454,7 +2454,7 @@ var _ = SIGDescribe(nodefeature.SidecarContainers, "Containers Lifecycle", func(
2454
2454
})
2455
2455
2456
2456
ginkgo .It ("should not restart a restartable init container" , func () {
2457
- framework .ExpectNoError (results .DoesntStartAfter (restartableInit1 , regular1 ))
2457
+ framework .ExpectNoError (results .HasNotRestarted (restartableInit1 ))
2458
2458
})
2459
2459
// this test case is different from restartPolicy=Never
2460
2460
ginkgo .It ("should start a regular container" , func () {
0 commit comments