forked from apache/pulsar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tests] Fix flaky test ConnectionTimeoutTest (apache#15865)
- the original test assumed that 192.0.2.1 is a "black hole" and can be used for testing connection timeouts. This is an assumption which doesn't hold when a firewall blocks such connections. - create a dummy TCP/IP server and fill the backlog so that it won't respond and becomes a "black hole"
- Loading branch information
Showing
1 changed file
with
48 additions
and
13 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