test(batch25): port gateway connect and tls baseline tests

This commit is contained in:
Joseph Doherty
2026-03-01 02:19:11 -05:00
parent e9be0751ec
commit a0763cd248
10 changed files with 593 additions and 0 deletions

View File

@@ -203,4 +203,15 @@ public sealed class ConfigReloaderTests
[Fact] // T:2762
public void ConfigReloadAccountNKeyUsers_ShouldSucceed()
=> ConfigReloadAuthDoesNotBreakRouteInterest_ShouldSucceed();
[Fact] // T:2747
public void ConfigReloadClusterAdvertise_ShouldSucceed()
{
var args = new List<string> { "--cluster_advertise", "nats://127.0.0.1:6222" };
var (options, error) = ServerOptions.ConfigureOptions(args, null, null, null);
error.ShouldBeNull();
options.ShouldNotBeNull();
options!.Cluster.Advertise.ShouldBe("nats://127.0.0.1:6222");
}
}