~stewart/galera/bug907623

Viewing all changes in revision 106.

  • Committer: Stewart Smith
  • Date: 2012-01-04 04:12:21 UTC
  • Revision ID: stewart@flamingspork.com-20120104041221-xvstesn7n5t242gs
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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: