-
Notifications
You must be signed in to change notification settings - Fork 376
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix flaky TestClusterIPv4 e2e tests (#2866)
The tests checking access from the Node / hostNetwork were broken on Kind clusters: wget is used to check connectivity, but wget is not installed on the Kind Node image. This issue was going unnoticed however because the tests were not checking for errors properly. The tests checking access from the Pod network were flaky (at least with kube-proxy) because no more than one connection was attempted, with little delay between Service creation and the connectivity test. Instead, we replace wget with agnhost, and we make up to 5 connection attempts. Fixes #2860 Signed-off-by: Antonin Bas <[email protected]>
- Loading branch information
1 parent
00716fc
commit 784dc4c
Showing
4 changed files
with
41 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters