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:
Hornwitser committed 2020-09-29 01:28:00 +02:00
1 parent b82de23876
commit 003b035abd
4 files changed
+29 -7

No files matched your search

+1 -1
View File
@@ -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") {