From 0a5d0c374b1beb4ab760c28d6eab8abd84232b27 Mon Sep 17 00:00:00 2001 From: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com> Date: Sun, 8 Feb 2026 21:44:04 +0000 Subject: [PATCH] Response to comments - Increase timeout on download test - Fix wrong function being called --- test/host/server.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/host/server.js b/test/host/server.js index 4353c4ac..28d21054 100644 --- a/test/host/server.js +++ b/test/host/server.js @@ -132,6 +132,7 @@ describe("host/server", function() { }); it("works", async function() { + slowTest(this); const url = "https://github.com/clusterio/clusterio/archive/refs/tags/v2.0.0-alpha.22.zip"; const downloads = path.join("temp", "test", "downloads"); await fs.emptyDir(downloads); @@ -162,7 +163,7 @@ describe("host/server", function() { }); it("errors and bad status", async function() { global.fetch = () => ({ ok: false, status: -1, statusText: "Fetch called" }); - await assert.rejects(hostServer._downloadAndExtractZip("url does not matter"), /-1 Fetch called/); + await assert.rejects(hostServer._downloadAndExtractTar("url does not matter"), /-1 Fetch called/); }); });