From 8dc1415404dd73624e1dbe8482f1e51104a03c77 Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Mon, 21 Jun 2021 14:52:57 +0200 Subject: [PATCH] Skip slaveUpdateEventHandler test on Windows Due to the lack of a simple way to automate graceful shutdown of a slave on Windows causing the test to be unreliable, skip it on Windows. --- test/integration/clusterio.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/integration/clusterio.js b/test/integration/clusterio.js index 5f3d6441..fff1c043 100644 --- a/test/integration/clusterio.js +++ b/test/integration/clusterio.js @@ -65,6 +65,12 @@ describe("Integration of Clusterio", function() { describe("clusterioslave", function() { describe("slaveUpdateEventHandler()", function() { it("should trigger when a new slave is added", async function() { + // On windows there's currently no way to automate graceful shutdown of the slave + // process as CTRL+C is some weird terminal thing and SIGINT isn't a thing. + if (process.platform === "win32") { + this.skip(); + } + slowTest(this); getControl().slaveUpdates = []; let config = "alt-slave-config.json";