You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
depot_tools/testing_support
Raphael Kubo da Costa b45f6428f8 fake_repos: Create a new socket for every connection attempt while waiting for a port
connect(2) says stream sockets may only succeed to connect once. This means
if the call to sock.connect() fails it will continue failing for the
entirety of the wait loop, and we will fail to wait for a port to bind even
when it eventually becomes available.

Make sure we create a new socket every time we are about to try to connect
to it.

Change-Id: I16d7dbea3590c5bf7f7240bdefcc5ec0bcd1edb5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1528291
Commit-Queue: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Auto-Submit: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
6 years ago
..
__init__.py
auto_stub.py
cipd gclient: Add a test to make sure we're syncing CIPD dependencies. 7 years ago
cipd.bat gclient: Add a test to make sure we're syncing CIPD dependencies. 7 years ago
coverage_utils.py
fake_cipd.py Reland "gclient: delete unversioned directory before adding cipd dep for the same path" 7 years ago
fake_repos.py fake_repos: Create a new socket for every connection attempt while waiting for a port 6 years ago
filesystem_mock.py owners.py: Use os.path.split to handle file separators correctly 6 years ago
gerrit-init.sh
gerrit_test_case.py Reland "Refactor ReadHttpResponse to be error-friendlier" 8 years ago
git_test_utils.py git_test_utils: Copy os.environ in get_git_commit_env() 6 years ago
patches_data.py
super_mox.py
trial_dir.py