lp://staging/~stewart/galera/bug907623
- Get this branch:
- bzr branch lp://staging/~stewart/galera/bug907623
Branch merges
- Alex Yurchenko: Approve
-
Diff: 187 lines (+50/-15)3 files modifiedgalerautils/src/gu_network.cpp (+14/-1)
galerautils/tests/gu_net_test.cpp (+34/-13)
gcomm/test/check_util.cpp (+2/-1)
Related bugs
Bug #907623: cannot build multiple trees concurrently | Undecided | Fix Released |
Related blueprints
Branch information
Recent revisions
- 109. By Stewart Smith
-
Fix test_net_
consumer_ nto1 and test_net_consumer to also bind to port 0 to enable simultaneous test runs on a single machine - 108. By Stewart Smith
-
Fix test_network_
nonblocking to also bind to port 0 to enable simultaneous test runs on a single machine - 107. By Stewart Smith
-
Fix test_network_send to also bind to port 0 to enable simultaneous test runs on a single machine
- 106. By Stewart Smith
-
Fix test_network_listen and test_network_connct tests so that they can be run simultaneously on the same machine by switching to using dynamically allocated port numbers instead of static ones. We bind to port 0 and then ask the OS for what port it allocated. I had to modify gu::net:
:Socket: :listen( ) so that it would store the proper local_addr string. - 105. By Stewart Smith
-
fix gcomm/test/
check_util. cpp test cases to bind to port 0 to get a port allocated by the operating system insted of hard-coding one into the test. This fixes a problem where if two builds were running concurrently on the same machine, they would conflict on port numbers and one would fail for no good reason.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/galera/trunk