mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-18 23:33:12 +09:00
Disable user verification in start-all and auto_start tests
Factorio contacts auth.factorio.com on startup when require_user_verification is enabled, which made these tests fail offline. Match the other integration tests by turning it off. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0cfa048d42
commit
ffc79ea0e7
2 files changed
+10
No files matched your search
@@ -301,6 +301,9 @@ describe("Integration of Clusterio", function() {
|
||||
await execCtl("instance create alt-start --id 97");
|
||||
await execCtl("instance assign alt-start 5");
|
||||
await execCtl("instance config set alt-start instance.auto_start true");
|
||||
const visibility = jsonArg({ lan: false, public: false });
|
||||
await execCtlProcess(`instance config set-prop alt-start factorio.settings visibility ${visibility}`);
|
||||
await execCtl("instance config set-prop alt-start factorio.settings require_user_verification false");
|
||||
await stopAltHost(hostProcess);
|
||||
hostProcess = await spawnAltHost();
|
||||
// Stop the host immediatly to test the handling of stopping
|
||||
|
||||
Reference in new issue
Block a user