Actually fix NS_ERROR_SOCKET_ADDRESS_IN_USE during tests
This commit is contained in:
parent
5e27a75010
commit
69ba2310a2
2 changed files with 2 additions and 2 deletions
|
@ -329,7 +329,7 @@ describe("Zotero.Attachments", function() {
|
|||
Components.utils.import("resource://zotero-unit/httpd.js");
|
||||
var testServerPath, httpd, prefix;
|
||||
var testServerPortMin = 16213;
|
||||
var testServerPortMax = testServerPort + 50;
|
||||
var testServerPortMax = testServerPortMin + 20;
|
||||
var testServerPort = testServerPortMin;
|
||||
|
||||
before(async function () {
|
||||
|
|
|
@ -144,7 +144,7 @@ describe("ZoteroPane", function() {
|
|||
Components.utils.import("resource://zotero-unit/httpd.js");
|
||||
var apiKey = Zotero.Utilities.randomString(24);
|
||||
var testServerPortMin = 16213;
|
||||
var testServerPortMax = testServerPort + 20;
|
||||
var testServerPortMax = testServerPortMin + 20;
|
||||
var testServerPort = testServerPortMin;
|
||||
var baseURL;
|
||||
var httpd;
|
||||
|
|
Loading…
Add table
Reference in a new issue