mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-17 23:33:12 +09:00
Finish the plugin system integration tests
Adds the last three checks from #342 to test_plugin: an InstanceEcho request handled on a running instance, a Lua module with a remote interface that the request calls over RCON, and log tagging checks for the plugin field and host/instance ids on the controller, host and instance log lines. test_plugin now has a module, so the create_scenario and patch unit tests that relied on it having none use global_chat instead. Closes #342 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
35125a28ab
commit
9ab36151bd
8 files changed
+100
-4
No files matched your search
@@ -1,7 +1,7 @@
|
||||
// Plugin exercising the plugin system in the integration tests, see #342.
|
||||
// Written as plain JavaScript so that it does not need to be built.
|
||||
|
||||
import { ControllerEcho, HostEcho, HostEchoReceived } from "./messages.js";
|
||||
import { ControllerEcho, HostEcho, HostEchoReceived, InstanceEcho } from "./messages.js";
|
||||
|
||||
export const plugin = {
|
||||
name: "test_plugin",
|
||||
@@ -17,5 +17,6 @@ export const plugin = {
|
||||
ControllerEcho,
|
||||
HostEcho,
|
||||
HostEchoReceived,
|
||||
InstanceEcho,
|
||||
],
|
||||
};
|
||||
Reference in new issue
Block a user