Skip to content

Commit

Permalink
Increase timeout of mirror tests (#255) (#256)
Browse files Browse the repository at this point in the history
30 seconds is not enough on slower systems.

Signed-off-by: Petr Horáček <[email protected]>

Signed-off-by: Petr Horáček <[email protected]>

Signed-off-by: Petr Horáček <[email protected]>
  • Loading branch information
phoracek authored Dec 12, 2022
1 parent 37c54ba commit 6cb6ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/mirror_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ var testMirrorFunc = func(version string) {
Eventually(func() error {
_, err := clusterApi.ReadFileFromPod(podConsName, "test", "/tcpdump.log")
return err
}, 30 * time.Second, time.Second).Should(Succeed(), "tcpdump did not start in time");
}, 120 * time.Second, time.Second).Should(Succeed(), "tcpdump did not start in time");

clusterApi.CreatePrivilegedPodWithIP(podProd1Name, nadProducerName, bridgeName, cidrPodProd1, "")
clusterApi.CreatePrivilegedPodWithIP(podProd2Name, nadProducerName, bridgeName, cidrPodProd2, "")
Expand Down

0 comments on commit 6cb6ac9

Please sign in to comment.