mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-12 18:50:08 +00:00
Bug 788960 - Disable test_tcpsocket.js on OSX due to intermittent failures.
This commit is contained in:
parent
76b632c8f8
commit
fce9c7e8bb
@ -74,6 +74,12 @@ Cu.import("resource://gre/modules/Services.jsm");
|
||||
*
|
||||
*/
|
||||
|
||||
function get_platform() {
|
||||
var xulRuntime = Components.classes["@mozilla.org/xre/app-info;1"]
|
||||
.getService(Components.interfaces.nsIXULRuntime);
|
||||
return xulRuntime.OS;
|
||||
}
|
||||
|
||||
/**
|
||||
* Spin up a listening socket and associate at most one live, accepted socket
|
||||
* with ourselves.
|
||||
@ -492,8 +498,12 @@ add_test(clientCloses);
|
||||
add_test(connectSock);
|
||||
add_test(bufferedClose);
|
||||
|
||||
// - get an error on an attempt to connect to a non-listening port
|
||||
add_test(badConnect);
|
||||
if (get_platform() !== "Darwin") {
|
||||
// This test intermittently fails way too often on OS X, for unknown reasons.
|
||||
// Please, diagnose and fix it if you can.
|
||||
// - get an error on an attempt to connect to a non-listening port
|
||||
add_test(badConnect);
|
||||
}
|
||||
|
||||
// send a buffer, get a drain, send a buffer, get a drain
|
||||
add_test(connectSock);
|
||||
|
Loading…
x
Reference in New Issue
Block a user