mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 14:25:52 +00:00
Bug 908248 - Intermittent test_tcpserversocket.js. r=jdm
This commit is contained in:
parent
28f570bc1e
commit
a9817ffc32
@ -202,7 +202,7 @@ function openSockInClosingServer() {
|
||||
'127.0.0.1', PORT, options);
|
||||
|
||||
sock.onopen = makeFailureCase('open');
|
||||
sock.onerror = success();
|
||||
sock.onerror = success;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -300,13 +300,4 @@ function run_test() {
|
||||
Services.prefs.setBoolPref('dom.mozTCPSocket.enabled', true);
|
||||
|
||||
run_next_test();
|
||||
|
||||
do_timeout(10000, function() {
|
||||
if (server) {
|
||||
server.close();
|
||||
}
|
||||
|
||||
do_throw(
|
||||
"The test should never take this long unless the system is hosed.");
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user