2
0
mirror of https://github.com/status-im/consul.git synced 2025-01-13 07:14:37 +00:00
R.B. Boyer f9496dc627 sdk: add freelist tracking and ephemeral port range skipping to freeport
This should cut down on test flakiness.

Problems handled:

- If you had enough parallel test cases running, the former circular
approach to handling the port block could hand out the same port to
multiple cases before they each had a chance to bind them, leading to
one of the two tests to fail.

- The freeport library would allocate out of the ephemeral port range.
This has been corrected for Linux (which should cover CI).

- The library now waits until a formerly-in-use port is verified to be
free before putting it back into circulation.
2019-09-17 14:30:43 -05:00
..
2018-11-02 12:00:39 -05:00
2017-10-25 19:30:35 +02:00
2018-10-19 12:04:07 -04:00
2017-07-18 20:24:38 +02:00
2018-10-19 12:04:07 -04:00
2019-08-09 15:19:30 -04:00
2019-09-12 19:39:58 +00:00
2019-07-01 16:28:30 -04:00
2019-07-24 17:06:39 -04:00
2018-02-12 10:15:31 -08:00
2018-03-19 16:56:00 +00:00
2019-03-27 08:54:56 -04:00