Skip to content

Commit dcce259

Browse files
committed
mantle/podman.go: use RetryUntilTimeout in podman.workflow
The podman.workflow test has been failing on OpenStack, likely because pulling the Fedora container takes too long. Use the `RetryUntilTimeout` function to retry every minute for up to 15 minutes to allow sufficient time to pull the Fedora container. In local testing, pulling the container on OpenStack took approximately 5 minutes before succeeding. See: coreos/fedora-coreos-tracker#1835
1 parent e101e50 commit dcce259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mantle/kola/tests/podman/podman.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ func podmanWorkflow(c cluster.TestCluster) {
154154
return nil
155155
}
156156

157-
if err := util.Retry(6, 10*time.Second, podIsRunning); err != nil {
157+
if err := util.RetryUntilTimeout(15*time.Minute, 5*time.Minute, podIsRunning); err != nil {
158158
c.Fatal("Pod is not running")
159159
}
160160
})

0 commit comments

Comments
 (0)