feat: add per-client trace delivery and echo control (Gap 5.7)
Implements ClientTraceInfo with TraceMsgDelivery recording and per-client echo suppression; fixes AccountGoParityTests namespace ambiguity caused by the new NATS.Server.Tests.Subscriptions test namespace.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
using NATS.Server.Auth;
|
||||
using NATS.Server.Imports;
|
||||
using NATS.Server.Subscriptions;
|
||||
using ServerSubscriptions = NATS.Server.Subscriptions;
|
||||
|
||||
namespace NATS.Server.Tests.Auth;
|
||||
|
||||
@@ -28,7 +28,7 @@ public class AccountGoParityTests
|
||||
using var accB = new Account("B");
|
||||
|
||||
// Add subscriptions to account A's SubList
|
||||
var subA = new Subscription { Subject = "foo", Sid = "1" };
|
||||
var subA = new ServerSubscriptions.Subscription { Subject = "foo", Sid = "1" };
|
||||
accA.SubList.Insert(subA);
|
||||
|
||||
// Account B should not see account A's subscriptions
|
||||
@@ -52,8 +52,8 @@ public class AccountGoParityTests
|
||||
// Go: TestAccountWildcardRouteMapping — wildcards work per-account.
|
||||
using var acc = new Account("TEST");
|
||||
|
||||
var sub1 = new Subscription { Subject = "orders.*", Sid = "1" };
|
||||
var sub2 = new Subscription { Subject = "orders.>", Sid = "2" };
|
||||
var sub1 = new ServerSubscriptions.Subscription { Subject = "orders.*", Sid = "1" };
|
||||
var sub2 = new ServerSubscriptions.Subscription { Subject = "orders.>", Sid = "2" };
|
||||
acc.SubList.Insert(sub1);
|
||||
acc.SubList.Insert(sub2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user