gecko-dev/testing/mochitest
Dan Minor 8583436ea5 Bug 1407203 - Wait for websocketProcessBridge to exit; r=jmaher
We are seeing failures starting websocketProcessBridge due to the port being
in use. It is most likely a previously started websocketProcessBridge process that
is using the port.

On Windows, mozprocess.kill() calls TerminateJobObject/TerminateProcess and
GetExitCodeProcess, but these are asynchronous and don't wait for the process to
actually exit. Adding a wait call should guarantee the process has exited before
continuing which will hopefully ensure the port is free by the time we start an
additional websocketProcessBridge.

MozReview-Commit-ID: HGyjEsy1Ons

--HG--
extra : rebase_source : f56034e1fc0febae07d9b2728eded0a48975baca
2017-10-16 15:47:58 -04:00
..
BrowserTestUtils Bug 1406860 - Make urlbar tests a bit more reliable. r=standard8 2017-10-10 01:18:23 +02:00
MochiKit
chrome Bug 1380470 - Part 2 - Add add_task().skip() and add_task().only() for mochitest-chrome unit tests. r=ahal 2017-07-18 14:42:19 +02:00
dynamic
embed
manifests
pywebsocket
ssltunnel Bug 1386876 - Replace all uses of DISABLE_STL_WRAPPING with a template, remove DISABLE_STL_WRAPPING. r=glandium 2017-09-11 11:33:26 -07:00
static
tests Backed out changeset dbe60b600dc0 (bug 1397853) for failining linter py-compat at testing/mochitest/runtests.py:2236. r=backout 2017-09-28 14:58:36 +02:00
Makefile.in Bug 1366644 - Part 3a: Update Android build-tools (25.0.3), Gradle (3.4.1), Android-Gradle (2.3.3). r=maliu 2017-10-16 15:09:15 -07:00
README.txt
ShutdownLeaksCollector.jsm
__init__.py
bisection.py Backed out changeset dbe60b600dc0 (bug 1397853) for failining linter py-compat at testing/mochitest/runtests.py:2236. r=backout 2017-09-28 14:58:36 +02:00
bootstrap.js Bug 1371065: Part 0 - Fix unit tests that use the SDK loader :/ r=Mossop 2017-09-08 18:16:50 -07:00
browser-harness.xul Backed out changeset 6da58c7bb247 (bug 1365649) for frequently failing devtools/client/netmonitor/test/browser_net_simple-request-data.js. r=backout 2017-05-28 11:32:16 +02:00
browser-test-overlay.xul
browser-test.js Bug 1391694 - Avoid false shutdown leaks in browser-chrome tests with --repeat; r=jmaher 2017-09-15 07:29:44 -06:00
chrome-harness.js Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj 2017-08-04 17:49:22 +09:00
chunkifyTests.js
gen_template.pl
harness.xul
install.rdf
jar.mn Bug 1371065: Part 1 - Remove external references to the add-on SDK. r=Mossop,glandium 2017-09-12 11:54:47 -07:00
leaks.py Backed out changeset dbe60b600dc0 (bug 1397853) for failining linter py-compat at testing/mochitest/runtests.py:2236. r=backout 2017-09-28 14:58:36 +02:00
mach_commands.py Bug 1404012 - Break out of multi-flavor |mach mochitest| with one ctrl-c; r=jmaher 2017-09-29 10:40:21 -06:00
mach_test_package_commands.py Backed out changeset dbe60b600dc0 (bug 1397853) for failining linter py-compat at testing/mochitest/runtests.py:2236. r=backout 2017-09-28 14:58:36 +02:00
manifest.webapp
manifestLibrary.js
mochitest-e10s-utils.js
mochitest_options.py merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-10-18 11:48:34 +02:00
moz.build Bug 1403222 - Add test suite families to SCHEDULES.exclusive r=dustin 2017-09-26 10:47:22 -04:00
nested_setup.js
pywebsocket_wrapper.py Backed out changeset dbe60b600dc0 (bug 1397853) for failining linter py-compat at testing/mochitest/runtests.py:2236. r=backout 2017-09-28 14:58:36 +02:00
redirect.html Bug 1260312 - Retry mochitest-chrome redirection to improve reliability; r=jmaher 2017-05-19 12:06:14 -06:00
rungeckoview.py Backed out changeset dbe60b600dc0 (bug 1397853) for failining linter py-compat at testing/mochitest/runtests.py:2236. r=backout 2017-09-28 14:58:36 +02:00
runrobocop.py Backed out changeset dbe60b600dc0 (bug 1397853) for failining linter py-compat at testing/mochitest/runtests.py:2236. r=backout 2017-09-28 14:58:36 +02:00
runtests.py Bug 1407203 - Wait for websocketProcessBridge to exit; r=jmaher 2017-10-16 15:47:58 -04:00
runtestsremote.py Bug 1409062 - Update mochitest and reftest harnesses for --verify on Android; r=jmaher 2017-10-17 08:00:52 -06:00
server.js Bug 1347644 - Baldr: implement ConsumeStreamCallback in browser (r=bkelly) 2017-10-10 14:41:24 -05:00
shutdown-leaks-collector.js
start_desktop.js

README.txt

See https://developer.mozilla.org/en/docs/Mochitest for detailed information on running and writing mochitests.