Bug 1136252 - Part 1: Increase the number of instances of signaling_unittests that can be run in parallel. r=mt
authorByron Campen [:bwc] <docfaraday@gmail.com>
Fri, 06 Mar 2015 15:16:38 -0800
changeset 233550 4ec8bb1c0cf8e7325d316bcf1516a0ee905446ef
parent 233549 1434aefa4e49daf655e6e42d5d411ee14fd2e50d
child 233551 77605be85deb84e950ee48335f981d4cf8933638
push id28417
push userryanvm@gmail.com
push dateFri, 13 Mar 2015 19:52:44 +0000
treeherdermozilla-central@977add19414a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmt
bugs1136252
milestone39.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1136252 - Part 1: Increase the number of instances of signaling_unittests that can be run in parallel. r=mt
media/mtransport/test/stunserver.cpp
--- a/media/mtransport/test/stunserver.cpp
+++ b/media/mtransport/test/stunserver.cpp
@@ -245,17 +245,17 @@ TestStunServer* TestStunServer::Create()
   }
 
   if (addr_ct < 1) {
     MOZ_MTLOG(ML_ERROR, "No local addresses");
     return nullptr;
   }
 
   NR_SOCKET fd;
-  int tries = 10;
+  int tries = 100;
   while (tries--) {
     // Bind to the first address (arbitrarily) on configured port (default 3478)
     r = server->TryOpenListenSocket(&addrs[0], instance_port);
     // We interpret R_ALREADY to mean the addr is probably in use. Try another.
     // Otherwise, it either worked or it didn't, and we check below.
     if (r != R_ALREADY) {
       break;
     }