From 53889aec9fff6135a013b03ed6ea080ca758e13b Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Mon, 13 Jul 2026 11:24:06 -0400 Subject: [PATCH] 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. --- .../ScadaBridgeWebApplicationFactory.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/ZB.MOM.WW.ScadaBridge.IntegrationTests/ScadaBridgeWebApplicationFactory.cs b/tests/ZB.MOM.WW.ScadaBridge.IntegrationTests/ScadaBridgeWebApplicationFactory.cs index 9aaada52..5421e283 100644 --- a/tests/ZB.MOM.WW.ScadaBridge.IntegrationTests/ScadaBridgeWebApplicationFactory.cs +++ b/tests/ZB.MOM.WW.ScadaBridge.IntegrationTests/ScadaBridgeWebApplicationFactory.cs @@ -30,6 +30,10 @@ public class ScadaBridgeWebApplicationFactory : WebApplicationFactory { ["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",