machi/test
Shunichi Shinohara 2e2d282afc Use outside of ephemeral port range to listen on
When there is TCP_WAIT connection whose local part has
port to be listened, listen (bind) will fail by eaddrinuse
_on Linux_ (won't on Mac OS X).
This commit also adds some logs and pattern matches.

Reference
- Ephemeral port - Wikipedia, the free encyclopedia
  https://en.wikipedia.org/wiki/Ephemeral_port

  "Many Linux kernels use the port range 32768 to 61000.[note 2]
  FreeBSD has used the IANA port range since release 4.6. Previous
  versions, including the Berkeley Software Distribution (BSD), use
  ports 1024 to 5000 as ephemeral ports.[2]"

- Demostration of collision between already-closed ephemeral port
  and listen port on Linux (Mac OS X allows)
  https://gist.github.com/shino/36ae1e01608366d52236
2015-12-09 18:04:50 +09:00
..
legacy Remove all flap counting and inner projection stuff 2015-09-04 17:17:49 +09:00
pulse_util WIP: client side projection store, 1st API op (write), part II 2015-04-03 17:10:52 +09:00
machi_admin_util_test.erl Cosmetics of comments, specs, whitespaces and unit tests refactoring 2015-12-09 09:58:34 +09:00
machi_ap_repair_eqc.erl Cosmetics of comments, specs, whitespaces and unit tests refactoring 2015-12-09 09:58:34 +09:00
machi_chain_manager1_converge_demo.erl Add doc/machi_chain_manager1_converge_demo.md 2015-11-03 00:27:09 +09:00
machi_chain_manager1_pulse.erl machi_chain_manager1_pulse.erl tweaks 2015-07-20 15:08:03 +09:00
machi_chain_manager1_test.erl Cosmetics of comments, specs, whitespaces and unit tests refactoring 2015-12-09 09:58:34 +09:00
machi_cinfo_test.erl Fix unit test cases around flu1 startup 2015-12-09 09:58:34 +09:00
machi_cr_client_test.erl Fix unit test cases around flu1 startup 2015-12-09 09:58:34 +09:00
machi_csum_table_test.erl Fix GC not running 2015-12-07 12:07:46 +09:00
machi_file_proxy_eqc.erl Fix several new bugs 2015-12-04 17:38:36 +09:00
machi_file_proxy_test.erl Set longer timeout for hyooge binary write test case 2015-12-09 09:46:11 +09:00
machi_flu1_test.erl Use outside of ephemeral port range to listen on 2015-12-09 18:04:50 +09:00
machi_flu_psup_test.erl Fix unit test cases around flu1 startup 2015-12-09 09:58:34 +09:00
machi_merkle_tree_test.erl Simple fix for #52: file size matters 2015-12-07 10:24:19 +09:00
machi_partition_simulator.erl Hrm, fewer deadlocks, but lots of !@#$! mystery hangs @ startup & teardown 2015-07-16 20:13:48 +09:00
machi_pb_high_client_test.erl Cosmetics of comments, specs, whitespaces and unit tests refactoring 2015-12-09 09:58:34 +09:00
machi_pb_test.erl WIP: giant hairball 11 2015-06-29 16:24:57 +09:00
machi_plist_test.erl Trim command and GC prototype implementation 2015-10-28 12:34:03 +09:00
machi_projection_store_test.erl Cosmetics of comments, specs, whitespaces and unit tests refactoring 2015-12-09 09:58:34 +09:00
machi_projection_test.erl Bugfix: machi_projection:new/6 derp: argument order mistake 2015-07-10 16:41:28 +09:00
machi_proxy_flu1_client_test.erl More cleaner clean up 2015-12-09 10:29:45 +09:00
machi_test_util.erl More cleaner clean up 2015-12-09 10:29:45 +09:00