mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 07:04:52 +09:00
Skip unknown instance status check on Windows
The unknown status happens when an instance is on a host that has disconnected, but since alt-host is not spawned in the tests on Windows this status is not observed.
This commit is contained in:
1 parent
115cb3fd5d
commit
47375ec075
1 file changed
+5
-1
@@ -788,9 +788,13 @@ describe("Integration of Clusterio", function() {
|
||||
it("should have triggered for the previous instance status updates", function() {
|
||||
slowTest(this);
|
||||
let statusesToCheck = new Set([
|
||||
"unassigned", "unknown", "stopped", "creating_save", "exporting_data",
|
||||
"unassigned", "stopped", "creating_save", "exporting_data",
|
||||
"starting", "running", "stopping", "deleted",
|
||||
]);
|
||||
// Windows does not see the unknown status because alt-host is not spawned.
|
||||
if (process.platform !== "win32") {
|
||||
statusesToCheck.add("unknown");
|
||||
}
|
||||
let statusesNotSeen = new Set(statusesToCheck);
|
||||
|
||||
for (let update of getControl().instanceUpdates) {
|
||||
|
||||
Reference in new issue
Block a user