mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-17 15:33:12 +09:00
Send the research queue to followers after a finished technology is removed
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
bedfe0873b
commit
2035f5bc2c
5 files changed
+66
-12
No files matched your search
@@ -78,6 +78,10 @@ describe("research_sync instance", function() {
|
||||
await handler()(new QueueEvent(["a"], null, "rs-2"));
|
||||
assert.equal(lastCommand(), applyCommand({ queue: ["a"], instance: "rs-2" }));
|
||||
});
|
||||
it("should leave out a null instance", async function() {
|
||||
await handler()(new QueueEvent(["a"], null, null));
|
||||
assert.equal(lastCommand(), applyCommand({ queue: ["a"] }));
|
||||
});
|
||||
it("should ignore the event while stopped", async function() {
|
||||
instance.status = "stopped";
|
||||
await handler()(new QueueEvent(["a"], null, "rs-2"));
|
||||
|
||||
Reference in new issue
Block a user