fix(test): set ScadaBridge:Node:NodeName in IntegrationTests host-boot config

R2-08 T7 added an eager NodeName validator (empty NodeName NULLs the SourceNode
audit column) but only patched Host.Tests fixtures; the IntegrationTests
WebApplicationFactory never set it, so every host-boot test failed
OptionsValidationException. Integration-surfaced; belongs with plan R2-08 T7.
This commit is contained in:
Joseph Doherty
2026-07-13 11:24:06 -04:00
parent ccee558ca7
commit 53889aec9f
@@ -30,6 +30,10 @@ public class ScadaBridgeWebApplicationFactory : WebApplicationFactory<Program>
{
["DOTNET_ENVIRONMENT"] = "Development",
["ScadaBridge__Node__Role"] = "Central",
// NodeName is eagerly validated at boot (arch-review 08 round 2 NF4 / plan R2-08 T7):
// an empty node name stamps the SourceNode audit column NULL, so the validator now
// fails host boot without it. The integration harness must supply one.
["ScadaBridge__Node__NodeName"] = "central-a",
["ScadaBridge__Node__NodeHostname"] = "localhost",
["ScadaBridge__Node__RemotingPort"] = "8081",
["ScadaBridge__Cluster__SeedNodes__0"] = "akka.tcp://scadabridge@localhost:8081",