mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/kube-vip/kube-vip.git
synced 2026-09-20 08:03:47 +08:00
test(e2e): give docker kill more time under parallel load
The ARP suite runs four kind clusters against one Docker daemon, so acknowledging a leader kill regularly exceeded the 5s budget and failed the IPv6 failover specs before any assertion ran. Signed-off-by: Marcel Fest <marcel.fest@telekom.de>
This commit is contained in:
@@ -1288,7 +1288,8 @@ func killLeader(leaderName string) {
|
||||
|
||||
session, err := gexec.Start(cmd, GinkgoWriter, GinkgoWriter)
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
Eventually(session, "5s").Should(gexec.Exit(0))
|
||||
// Every parallel kind cluster shares one Docker daemon, so the kill can be acknowledged slowly.
|
||||
Eventually(session, "30s").Should(gexec.Exit(0))
|
||||
}
|
||||
|
||||
func findLeader(leaderIPAddr string, clusterName string) string {
|
||||
|
||||
Reference in New Issue
Block a user