15 lines
436 B
C#
15 lines
436 B
C#
namespace NATS.Server.Tests;
|
|
|
|
public class GatewayLeafBootstrapTests
|
|
{
|
|
[Fact]
|
|
public async Task Server_bootstraps_gateway_and_leaf_managers_when_configured()
|
|
{
|
|
await using var server = await TestServerFactory.CreateWithGatewayAndLeafAsync();
|
|
await server.WaitForReadyAsync();
|
|
|
|
server.Stats.Gateways.ShouldBeGreaterThanOrEqualTo(0);
|
|
server.Stats.Leafs.ShouldBeGreaterThanOrEqualTo(0);
|
|
}
|
|
}
|