Skip to content

Commit 862b832

Browse files
committed
mantle/podman.go: bump retry delay in podmanWorkflow test
Bump the retry delay to `10*time.Seconds` which doubles the previous delay to allow for enough time to report success. Update the container name in an error statement from nginx to Fedora which should have been done in coreos#3939 fixes: coreos/fedora-coreos-tracker#1835
1 parent 10260a4 commit 862b832

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mantle/kola/tests/podman/podman.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,12 @@ func podmanWorkflow(c cluster.TestCluster) {
149149
return err
150150
}
151151
if !bytes.Contains(b, []byte("TEST PAGE")) {
152-
return fmt.Errorf("nginx pod is not running %s", b)
152+
return fmt.Errorf("Fedora container is not running %s", b)
153153
}
154154
return nil
155155
}
156156

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

0 commit comments

Comments
 (0)