mirror of
https://github.com/amark/gun.git
synced 2025-06-06 14:16:44 +00:00
Cleanup puppeteer on exit.
This commit is contained in:
parent
33b29f4ee6
commit
a607bdd004
@ -413,11 +413,7 @@ describe("The Holy Grail AXE Test!", function(){
|
|||||||
},1000);
|
},1000);
|
||||||
});
|
});
|
||||||
after("Everything shut down.", function(){
|
after("Everything shut down.", function(){
|
||||||
browsers.run(function(){
|
require('./util/open').cleanup();
|
||||||
//location.reload();
|
|
||||||
//setTimeout(function(){
|
|
||||||
//}, 15 * 1000);
|
|
||||||
});
|
|
||||||
return servers.run(function(){
|
return servers.run(function(){
|
||||||
process.exit();
|
process.exit();
|
||||||
});
|
});
|
||||||
|
@ -188,11 +188,7 @@ describe("Put ACK", function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
after("Everything shut down.", function(){
|
after("Everything shut down.", function(){
|
||||||
browsers.run(function(){
|
require('./util/open').cleanup();
|
||||||
//location.reload();
|
|
||||||
//setTimeout(function(){
|
|
||||||
//}, 15 * 1000);
|
|
||||||
});
|
|
||||||
return servers.run(function(){
|
return servers.run(function(){
|
||||||
process.exit();
|
process.exit();
|
||||||
});
|
});
|
||||||
|
@ -153,11 +153,7 @@ describe("Put ACK", function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
after("Everything shut down.", function(){
|
after("Everything shut down.", function(){
|
||||||
browsers.run(function(){
|
require('./util/open').cleanup();
|
||||||
//location.reload();
|
|
||||||
//setTimeout(function(){
|
|
||||||
//}, 15 * 1000);
|
|
||||||
});
|
|
||||||
return servers.run(function(){
|
return servers.run(function(){
|
||||||
process.exit();
|
process.exit();
|
||||||
});
|
});
|
||||||
|
@ -125,11 +125,7 @@ describe("Put ACK", function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
after("Everything shut down.", function(){
|
after("Everything shut down.", function(){
|
||||||
browsers.run(function(){
|
require('./util/open').cleanup();
|
||||||
//location.reload();
|
|
||||||
//setTimeout(function(){
|
|
||||||
//}, 15 * 1000);
|
|
||||||
});
|
|
||||||
return servers.run(function(){
|
return servers.run(function(){
|
||||||
process.exit();
|
process.exit();
|
||||||
});
|
});
|
||||||
|
@ -179,11 +179,7 @@ describe("Put ACK", function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
after("Everything shut down.", function(){
|
after("Everything shut down.", function(){
|
||||||
browsers.run(function(){
|
require('./util/open').cleanup();
|
||||||
//location.reload();
|
|
||||||
//setTimeout(function(){
|
|
||||||
//}, 15 * 1000);
|
|
||||||
});
|
|
||||||
return servers.run(function(){
|
return servers.run(function(){
|
||||||
process.exit();
|
process.exit();
|
||||||
});
|
});
|
||||||
|
@ -166,11 +166,7 @@ describe("Load test "+ config.browsers +" browser(s) across "+ config.servers +"
|
|||||||
});
|
});
|
||||||
|
|
||||||
after("Everything shut down.", function(){
|
after("Everything shut down.", function(){
|
||||||
browsers.run(function(){
|
require('./util/open').cleanup();
|
||||||
//location.reload();
|
|
||||||
//setTimeout(function(){
|
|
||||||
//}, 15 * 1000);
|
|
||||||
});
|
|
||||||
return servers.run(function(){
|
return servers.run(function(){
|
||||||
process.exit();
|
process.exit();
|
||||||
});
|
});
|
||||||
|
@ -125,11 +125,7 @@ describe("Put ACK", function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
after("Everything shut down.", function(){
|
after("Everything shut down.", function(){
|
||||||
browsers.run(function(){
|
require('./util/open').cleanup();
|
||||||
//location.reload();
|
|
||||||
//setTimeout(function(){
|
|
||||||
//}, 15 * 1000);
|
|
||||||
});
|
|
||||||
return servers.run(function(){
|
return servers.run(function(){
|
||||||
process.exit();
|
process.exit();
|
||||||
});
|
});
|
||||||
|
@ -267,11 +267,7 @@ describe("The Holy Grail Test!", function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
after("Everything shut down.", function(){
|
after("Everything shut down.", function(){
|
||||||
browsers.run(function(){
|
require('./util/open').cleanup();
|
||||||
//location.reload();
|
|
||||||
//setTimeout(function(){
|
|
||||||
//}, 15 * 1000);
|
|
||||||
});
|
|
||||||
return servers.run(function(){
|
return servers.run(function(){
|
||||||
process.exit();
|
process.exit();
|
||||||
});
|
});
|
||||||
|
@ -180,11 +180,7 @@ describe("Broadcast Video", function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
after("Everything shut down.", function(){
|
after("Everything shut down.", function(){
|
||||||
browsers.run(function(){
|
require('./util/open').cleanup();
|
||||||
//location.reload();
|
|
||||||
//setTimeout(function(){
|
|
||||||
//}, 15 * 1000);
|
|
||||||
});
|
|
||||||
return servers.run(function(){
|
return servers.run(function(){
|
||||||
process.exit();
|
process.exit();
|
||||||
});
|
});
|
||||||
|
@ -118,11 +118,7 @@ describe("No Empty Object on .Once", function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
after("Everything shut down.", function(){
|
after("Everything shut down.", function(){
|
||||||
browsers.run(function(){
|
require('./util/open').cleanup();
|
||||||
//location.reload();
|
|
||||||
//setTimeout(function(){
|
|
||||||
//}, 15 * 1000);
|
|
||||||
});
|
|
||||||
return servers.run(function(){
|
return servers.run(function(){
|
||||||
process.exit();
|
process.exit();
|
||||||
});
|
});
|
||||||
|
@ -217,7 +217,7 @@ describe("gun.on should receive updates after crashed relay peer comes back onli
|
|||||||
});
|
});
|
||||||
|
|
||||||
after("Everything shut down.", function(){
|
after("Everything shut down.", function(){
|
||||||
return bob.run(function(){
|
return require('./util/open').cleanup() || bob.run(function(){
|
||||||
process.exit();
|
process.exit();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -275,11 +275,7 @@ describe("Make sure the Radix Storage Engine (RAD) works.", function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
after("Everything shut down.", function(){
|
after("Everything shut down.", function(){
|
||||||
browsers.run(function(){
|
require('./util/open').cleanup();
|
||||||
//location.reload();
|
|
||||||
//setTimeout(function(){
|
|
||||||
//}, 15 * 1000);
|
|
||||||
});
|
|
||||||
return servers.run(function(){
|
return servers.run(function(){
|
||||||
process.exit();
|
process.exit();
|
||||||
});
|
});
|
||||||
|
@ -223,11 +223,7 @@ describe("Stress test GUN with SEA users causing PANIC!", function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
after("Everything shut down.", function(){
|
after("Everything shut down.", function(){
|
||||||
browsers.run(function(){
|
require('./util/open').cleanup();
|
||||||
//location.reload();
|
|
||||||
//setTimeout(function(){
|
|
||||||
//}, 15 * 1000);
|
|
||||||
});
|
|
||||||
return servers.run(function(){
|
return servers.run(function(){
|
||||||
process.exit();
|
process.exit();
|
||||||
});
|
});
|
||||||
|
@ -188,11 +188,7 @@ describe("Make sure SEA syncs correctly", function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
after("Everything shut down.", function(){
|
after("Everything shut down.", function(){
|
||||||
browsers.run(function(){
|
require('./util/open').cleanup();
|
||||||
//location.reload();
|
|
||||||
//setTimeout(function(){
|
|
||||||
//}, 15 * 1000);
|
|
||||||
});
|
|
||||||
return servers.run(function(){
|
return servers.run(function(){
|
||||||
process.exit();
|
process.exit();
|
||||||
});
|
});
|
||||||
|
@ -310,11 +310,7 @@ describe("Stress test GUN with SEA users causing PANIC!", function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
after("Everything shut down.", function(){
|
after("Everything shut down.", function(){
|
||||||
browsers.run(function(){
|
require('./util/open').cleanup();
|
||||||
//location.reload();
|
|
||||||
//setTimeout(function(){
|
|
||||||
//}, 15 * 1000);
|
|
||||||
});
|
|
||||||
return servers.run(function(){
|
return servers.run(function(){
|
||||||
process.exit();
|
process.exit();
|
||||||
});
|
});
|
||||||
|
@ -218,11 +218,7 @@ describe("Private Message Threading", function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
after("Everything shut down.", function(){
|
after("Everything shut down.", function(){
|
||||||
browsers.run(function(){
|
require('./util/open').cleanup();
|
||||||
//location.reload();
|
|
||||||
//setTimeout(function(){
|
|
||||||
//}, 15 * 1000);
|
|
||||||
});
|
|
||||||
return servers.run(function(){
|
return servers.run(function(){
|
||||||
process.exit();
|
process.exit();
|
||||||
});
|
});
|
||||||
|
@ -253,11 +253,7 @@ describe("End-to-End Encryption on User Accounts", function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
after("Everything shut down.", function(){
|
after("Everything shut down.", function(){
|
||||||
browsers.run(function(){
|
require('./util/open').cleanup();
|
||||||
//location.reload();
|
|
||||||
//setTimeout(function(){
|
|
||||||
//}, 15 * 1000);
|
|
||||||
});
|
|
||||||
return servers.run(function(){
|
return servers.run(function(){
|
||||||
process.exit();
|
process.exit();
|
||||||
});
|
});
|
||||||
|
@ -233,11 +233,7 @@ describe("Make sure SEA syncs correctly", function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
after("Everything shut down.", function(){
|
after("Everything shut down.", function(){
|
||||||
browsers.run(function(){
|
require('./util/open').cleanup();
|
||||||
//location.reload();
|
|
||||||
//setTimeout(function(){
|
|
||||||
//}, 15 * 1000);
|
|
||||||
});
|
|
||||||
return servers.run(function(){
|
return servers.run(function(){
|
||||||
process.exit();
|
process.exit();
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user