Skip to content

Commit

Permalink
mantle/podman.go: bump retry delay in podmanWorkflow test
Browse files Browse the repository at this point in the history
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 #3939

fixes: coreos/fedora-coreos-tracker#1835
  • Loading branch information
marmijo committed Nov 19, 2024
1 parent 10260a4 commit 862b832
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mantle/kola/tests/podman/podman.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,12 @@ func podmanWorkflow(c cluster.TestCluster) {
return err
}
if !bytes.Contains(b, []byte("TEST PAGE")) {
return fmt.Errorf("nginx pod is not running %s", b)
return fmt.Errorf("Fedora container is not running %s", b)
}
return nil
}

if err := util.Retry(6, 5*time.Second, podIsRunning); err != nil {
if err := util.Retry(6, 10*time.Second, podIsRunning); err != nil {
c.Fatal("Pod is not running")
}
})
Expand Down

0 comments on commit 862b832

Please sign in to comment.