mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-16 07:24:53 +09:00
Send instance status in listInstances request
Send the status of the instance in the repsonse to the listInstances request and use this status in the integration tests to check if the instance was started/stopped.
This commit is contained in:
1 parent
b82de23876
commit
003b035abd
4 files changed
+29
-7
No files matched your search
+1
-1
@@ -24,7 +24,7 @@ describe("lib/command", function() {
|
||||
seq: 1, type: "list_instances_response",
|
||||
data: {
|
||||
seq: message.seq,
|
||||
list: [{ id: 57, assigned_slave: 4, name: "Test Instance" }],
|
||||
list: [{ id: 57, assigned_slave: 4, name: "Test Instance", status: "stopped" }],
|
||||
},
|
||||
});
|
||||
} else if (message.type === "list_roles_request") {
|
||||
|
||||
Reference in new issue
Block a user