Skip to content

Commit 5b8517c

Browse files
marmijodustymabe
authored andcommitted
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 64348e5 commit 5b8517c

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)