From 699449da6ad9733612144574a44a6c99468f5e97 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Fri, 13 Mar 2026 11:50:01 -0400 Subject: [PATCH] test: skip superseded MQTT e2e cases --- tests.md | 8 ++++++++ tests/NATS.E2E.Tests/MqttTests.cs | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/tests.md b/tests.md index 07f0697..50f8216 100644 --- a/tests.md +++ b/tests.md @@ -6,6 +6,14 @@ No known failing tests. ## Skipped Tests +### NATS.E2E.Tests (3 skipped) + +| Test | Reason | +|------|--------| +| `MqttTests.Mqtt_PubSub_SameTopicDelivered` | Superseded by `MqttE2ETests` — text-line protocol incompatible with binary MQTT 3.1.1 server | +| `MqttTests.Mqtt_DifferentTopic_NotDelivered` | Superseded by `MqttE2ETests` — text-line protocol incompatible with binary MQTT 3.1.1 server | +| `MqttTests.Mqtt_Qos1_PubAckReceived_AndDelivered` | Superseded by `MqttE2ETests` — text-line protocol incompatible with binary MQTT 3.1.1 server | + ### NATS.Server.Core.Tests (6 skipped) | Test | Reason | diff --git a/tests/NATS.E2E.Tests/MqttTests.cs b/tests/NATS.E2E.Tests/MqttTests.cs index e2d8141..440f92a 100644 --- a/tests/NATS.E2E.Tests/MqttTests.cs +++ b/tests/NATS.E2E.Tests/MqttTests.cs @@ -61,7 +61,7 @@ public class MqttTests(MqttServerFixture fixture) // ---- tests ---- - [Fact] + [Fact(Skip = "Superseded by MqttE2ETests — text-line protocol incompatible with binary MQTT 3.1.1 server")] public async Task Mqtt_PubSub_SameTopicDelivered() { using var cts = new CancellationTokenSource(TimeSpan.FromSeconds(15)); @@ -94,7 +94,7 @@ public class MqttTests(MqttServerFixture fixture) msg.ShouldBe("MSG e2e/mqtt/test1 hello-world"); } - [Fact] + [Fact(Skip = "Superseded by MqttE2ETests — text-line protocol incompatible with binary MQTT 3.1.1 server")] public async Task Mqtt_DifferentTopic_NotDelivered() { using var cts = new CancellationTokenSource(TimeSpan.FromSeconds(15)); @@ -118,7 +118,7 @@ public class MqttTests(MqttServerFixture fixture) unexpected.ShouldBeNull(); } - [Fact] + [Fact(Skip = "Superseded by MqttE2ETests — text-line protocol incompatible with binary MQTT 3.1.1 server")] public async Task Mqtt_Qos1_PubAckReceived_AndDelivered() { using var cts = new CancellationTokenSource(TimeSpan.FromSeconds(15));