mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
Bug 889102 - Use a dynamic port in test_dbgglobal.js so that the xpcshell tests can be run concurrently. r=past
This commit is contained in:
parent
23bcf72c26
commit
ed37951190
@ -9,7 +9,7 @@ function run_test()
|
||||
// Should get an exception if we try to interact with DebuggerServer
|
||||
// before we initialize it...
|
||||
check_except(function() {
|
||||
DebuggerServer.openListener(2929);
|
||||
DebuggerServer.openListener(-1);
|
||||
});
|
||||
check_except(DebuggerServer.closeListener);
|
||||
check_except(DebuggerServer.connectPipe);
|
||||
@ -20,7 +20,7 @@ function run_test()
|
||||
// These should still fail because we haven't added a createRootActor
|
||||
// implementation yet.
|
||||
check_except(function() {
|
||||
DebuggerServer.openListener(2929);
|
||||
DebuggerServer.openListener(-1);
|
||||
});
|
||||
check_except(DebuggerServer.closeListener);
|
||||
check_except(DebuggerServer.connectPipe);
|
||||
@ -28,7 +28,7 @@ function run_test()
|
||||
DebuggerServer.addActors("resource://test/testactors.js");
|
||||
|
||||
// Now they should work.
|
||||
DebuggerServer.openListener(2929);
|
||||
DebuggerServer.openListener(-1);
|
||||
DebuggerServer.closeListener();
|
||||
|
||||
// Make sure we got the test's root actor all set up.
|
||||
|
Loading…
Reference in New Issue
Block a user