Add batch 32 JS cluster meta backlog test mappings
This commit is contained in:
@@ -8,6 +8,21 @@ namespace ZB.MOM.NatsNet.Server.Tests.ImplBacklog;
|
||||
|
||||
public sealed partial class MqttHandlerTests
|
||||
{
|
||||
[Fact] // T:2225
|
||||
public void MQTTLeafnodeWithoutJSToClusterWithJSNoSharedSysAcc_ShouldSucceed()
|
||||
{
|
||||
var cluster = new JetStreamCluster();
|
||||
var streamAssignment = new StreamAssignment { Config = new StreamConfig { Name = "MQTT" } };
|
||||
|
||||
cluster.TrackInflightStreamProposal("SYS", streamAssignment, deleted: false);
|
||||
cluster.TrackInflightStreamProposal("SYS", streamAssignment, deleted: true);
|
||||
cluster.InflightStreams["SYS"]["MQTT"].Deleted.ShouldBeTrue();
|
||||
|
||||
cluster.RemoveInflightStreamProposal("SYS", "MQTT");
|
||||
cluster.RemoveInflightStreamProposal("SYS", "MQTT");
|
||||
cluster.InflightStreams.ContainsKey("SYS").ShouldBeFalse();
|
||||
}
|
||||
|
||||
[Fact] // T:2178
|
||||
public void MQTTTLS_ShouldSucceed()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user