test(batch25): port gateway connect and tls baseline tests
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user