Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
connectivity: don't configure both timeout and deadline for ping
Currently, we configure both the timeout (-W) and the deadline (-w) for the ping command, with defaults respectively 2 and 10 seconds. Yet, it appears that the deadline always takes precedence if both are set, which leads the test to require by default 10 seconds when a network policy preventing connectivity is in place. Hence, let's configure only the timeout, so that we stop waiting after two seconds. This is consistent with the behavior for the curl operations when connectivity is blocked. Signed-off-by: Marco Iorio <[email protected]>
- Loading branch information