mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-18 23:33:12 +09:00
Merge pull request #1231 from bbassie/fix/link-test-system-info
Answer system info requests in the link integration test
This commit is contained in:
1 parent
b8e96989af
commit
eefb4be44b
1 file changed
+3
@@ -33,6 +33,9 @@ describe("Integration of lib/link", function() {
|
||||
hostConnector = new TestHostConnector(url, 0.2);
|
||||
hostConnector.token = linkHost.token;
|
||||
hostConnector.hostId = linkHost.hostId;
|
||||
// The controller requests system info on connect and waits for it before disconnecting
|
||||
const hostLink = new lib.Link(hostConnector);
|
||||
hostLink.handle(lib.SystemInfoRequest, () => lib.gatherSystemInfo(linkHost.hostId, false, false, 0));
|
||||
});
|
||||
afterEach(async function() {
|
||||
await controlConnector.disconnect();
|
||||
|
||||
Reference in new issue
Block a user