diff --git a/package.json b/package.json index f7669f6a..fadd435c 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "root", "private": true, "scripts": { - "test": "mocha --exit --check-leaks -R spec --recursive test plugins/global_chat/test plugins/research_sync/test plugins/statistics_exporter/test plugins/subspace_storage/test", + "test": "mocha --check-leaks -R spec --recursive test plugins/global_chat/test plugins/research_sync/test plugins/statistics_exporter/test plugins/subspace_storage/test", "fast-test": "FAST_TEST=y npm test", "cover": "nyc npm test", "fast-cover": "FAST_TEST=y nyc npm test", diff --git a/test/integration/index.js b/test/integration/index.js index 59051a18..f3ab1e76 100644 --- a/test/integration/index.js +++ b/test/integration/index.js @@ -175,6 +175,7 @@ after(async function() { masterProcess.kill("SIGINT"); await events.once(masterProcess, "exit"); } + await control.connector.close(); }); // Ensure the test processes are stopped.