Skip to content

Commit

Permalink
ci: ginkgo: increase cilium readiness timeout from 240 to 360s
Browse files Browse the repository at this point in the history
Some ginkgo tests are sporadicly failing with timeouts while waiting
for all Cilium Agents to become ready. It seems as 240s aren't enough
from the creation of the Cilium Agent daemonset until all Pods are ready.

Since the definition of this timeout, the Cilium Agent
bootstrap logic changed quite a bit.

* Many parts of the boostrap logic are refactored to use the Hive framework
* Health Endpoint waits until datapath is ready

Therefore, this commit increases the timeout from 240s to 360s.

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
  • Loading branch information
mhofstetter authored and tklauser committed May 16, 2024
1 parent 2b31c34 commit dd795cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/helpers/kubectl.go
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ func (kub *Kubectl) WaitForCiliumReadiness(offset int, errMsg string) {
gomega.EventuallyWithOffset(1+offset, func() error {
_, err := kub.DaemonSetIsReady(CiliumNamespace, "cilium")
return err
}, 4*time.Minute, time.Second).Should(gomega.BeNil(), errMsg)
}, 6*time.Minute, time.Second).Should(gomega.BeNil(), errMsg)
}

// DeleteResourceInAnyNamespace deletes all objects with the provided name of
Expand Down

0 comments on commit dd795cc

Please sign in to comment.