feat: complete final jetstream parity transport and runtime baselines
This commit is contained in:
14
tests/NATS.Server.Tests/RouteRmsgForwardingTests.cs
Normal file
14
tests/NATS.Server.Tests/RouteRmsgForwardingTests.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace NATS.Server.Tests;
|
||||
|
||||
public class RouteRmsgForwardingTests
|
||||
{
|
||||
[Fact]
|
||||
public async Task Publish_on_serverA_reaches_remote_subscriber_on_serverB_via_RMSG()
|
||||
{
|
||||
await using var fx = await RouteFixture.StartTwoNodeClusterAsync();
|
||||
await fx.SubscribeOnServerBAsync("foo.>");
|
||||
|
||||
await fx.PublishFromServerAAsync("foo.bar", "payload");
|
||||
(await fx.ReadServerBMessageAsync()).ShouldContain("payload");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user