Commit Graph

183 Commits

Author SHA1 Message Date
Joseph Doherty
e0a87ca41f feat(batch50): merge JetStream cluster 1 tests and fix build errors
- Added ShouldSkip() and ServerRuntimeUnavailable to IntegrationTestBase
- Fixed WaitOnPeerCount -> WaitOnClusterReady
- Fixed using -> await using for NatsConnection (IAsyncDisposable)
- Removed duplicate PackageReference entries from csproj
2026-03-01 12:18:40 -05:00
Joseph Doherty
61e27879f7 Merge branch 'worktree-agent-a830a417'
# Conflicts:
#	dotnet/tests/ZB.MOM.NatsNet.Server.IntegrationTests/Helpers/CheckHelper.cs
#	dotnet/tests/ZB.MOM.NatsNet.Server.IntegrationTests/Helpers/ConfigHelper.cs
#	dotnet/tests/ZB.MOM.NatsNet.Server.IntegrationTests/Helpers/IntegrationTestBase.cs
#	dotnet/tests/ZB.MOM.NatsNet.Server.IntegrationTests/Helpers/NatsTestClient.cs
#	dotnet/tests/ZB.MOM.NatsNet.Server.IntegrationTests/Helpers/TestCluster.cs
2026-03-01 12:16:28 -05:00
Joseph Doherty
8db4fccc95 test(batch50): port 118 JetStream cluster 1 integration tests
Ports the first 118 tests from golang/nats-server/server/jetstream_cluster_1_test.go
to C# integration tests in JetStream/JetStreamCluster1Tests.cs. Adds the
Helpers/ scaffold (IntegrationTestBase, TestCluster, NatsTestClient, CheckHelper,
ConfigHelper) and Xunit.SkippableFact package; tests skip automatically unless
NATS_INTEGRATION_TESTS=true is set.
2026-03-01 12:14:55 -05:00
Joseph Doherty
e846cb664a test(batch48): add integration test harness infrastructure
Create 7 helper files under ZB.MOM.NatsNet.Server.IntegrationTests/Helpers/
and add Xunit.SkippableFact package. All tests skip gracefully via
IntegrationTestBase.CanBoot() guard until the .NET server runtime is complete.
2026-03-01 12:06:08 -05:00
Joseph Doherty
037fb4bfc8 feat(batch35): merge js-cluster-remaining 2026-03-01 02:45:38 -05:00
Joseph Doherty
788abc1702 batch35: add and verify raft test waves T2-T4 2026-03-01 02:41:03 -05:00
Joseph Doherty
9e4405c2a1 batch35: add and verify test wave T1 2026-03-01 02:37:07 -05:00
Joseph Doherty
73d9871be6 feat(batch25): merge gateways 2026-03-01 02:31:54 -05:00
Joseph Doherty
a0763cd248 test(batch25): port gateway connect and tls baseline tests 2026-03-01 02:19:11 -05:00
Joseph Doherty
e88f780033 test(batch29): add mapped raft node tests for batching behavior 2026-03-01 01:55:05 -05:00
Joseph Doherty
6ae023d4a7 feat(batch29): implement jetstream batching group-b validation and apply state 2026-03-01 01:51:17 -05:00
Joseph Doherty
a83339fe71 feat(batch25): implement gateway bootstrap and solicitation 2026-03-01 01:47:07 -05:00
Joseph Doherty
02d3b610a1 feat(batch29): implement jetstream batching group-a lifecycle/store methods 2026-03-01 01:45:35 -05:00
Joseph Doherty
58db8adbc7 feat(batch39): merge consumer-dispatch 2026-03-01 01:35:20 -05:00
Joseph Doherty
3e9ad16033 feat(batch24): complete leaf nodes implementation and verification 2026-03-01 01:31:57 -05:00
Joseph Doherty
09f73a0d2f task6(batch39): implement shutdown and signal flow paths 2026-03-01 01:30:17 -05:00
Joseph Doherty
c0ec1f3341 task5(batch39): add reply parsing and consumer identity helpers 2026-03-01 01:25:26 -05:00
Joseph Doherty
519ee6ad49 task4(batch39): add delivery and redelivery dispatch behavior 2026-03-01 01:21:16 -05:00
Joseph Doherty
f537612d7c task3(batch39): implement dispatch core and ack-floor processing 2026-03-01 01:16:27 -05:00
Joseph Doherty
b5d736ce89 feat(batch41): merge mqtt-client-io 2026-03-01 01:13:32 -05:00
Joseph Doherty
0760c550b4 task2(batch39): implement group A waiting/pull dispatch and T1 tests 2026-03-01 01:13:03 -05:00
Joseph Doherty
f2b1928a94 batch41: implement mqtt reader/writer and subject conversion slice 2026-03-01 01:08:31 -05:00
Joseph Doherty
2aaa38cad9 feat(batch38): merge consumer-lifecycle 2026-03-01 00:57:36 -05:00
Joseph Doherty
d5ab169bc5 test(batch38-t5): add perf/race/mqtt/benchmark mapped tests 2026-03-01 00:52:56 -05:00
Joseph Doherty
64048c8c51 test(batch38-t4): add engine/account lifecycle integration tests 2026-03-01 00:52:43 -05:00
Joseph Doherty
77004b0dd6 test(batch38-t3): add cluster lifecycle consistency mapped tests 2026-03-01 00:52:32 -05:00
Joseph Doherty
3d526d67a5 test(batch38-t1): add consumer filter/action/pinned mapped tests 2026-03-01 00:51:42 -05:00
Joseph Doherty
df3b44789b task6: implement batch38 group E state snapshot and wait queue 2026-03-01 00:39:08 -05:00
Joseph Doherty
9fbcafb2a3 task5: implement batch38 group D proposal and ack flow 2026-03-01 00:35:46 -05:00
Joseph Doherty
bb9558e6a9 task4: implement batch38 group C ack and delivery state 2026-03-01 00:30:22 -05:00
Joseph Doherty
9644e4fad6 feat(batch37): merge stream-messages 2026-03-01 00:22:33 -05:00
Joseph Doherty
804bc89246 task3: implement batch38 group B lifecycle and advisories 2026-03-01 00:14:58 -05:00
Joseph Doherty
fce6bd7dca task2: implement batch38 group A consumer lifecycle features 2026-03-01 00:11:47 -05:00
Joseph Doherty
c466127d09 batch37 task7 port wave T1 mapped tests and verify statuses 2026-03-01 00:08:35 -05:00
Joseph Doherty
797c035b2a feat(batch34): merge js-cluster-consumers 2026-02-28 23:55:33 -05:00
Joseph Doherty
a9ccb66e35 batch37 task6 implement group E pre-ack snapshot and restore 2026-02-28 23:54:28 -05:00
Joseph Doherty
a805af1bea batch37 task5 implement group D consumer registry and interest state 2026-02-28 23:47:48 -05:00
Joseph Doherty
6290b17a82 batch37 task4 implement group C message carriers and consumer signaling 2026-02-28 23:45:07 -05:00
Joseph Doherty
07b494544d batch37 task3 implement group B direct-get and pipeline 2026-02-28 23:42:47 -05:00
Joseph Doherty
91627ecefb feat(batch34): implement and verify group C cluster consumer features 2026-02-28 23:40:41 -05:00
Joseph Doherty
9a42b93b4b feat(batch34): implement and verify group B cluster consumer features 2026-02-28 23:37:15 -05:00
Joseph Doherty
f0ea92b8dd batch37 task2 implement group A message header methods 2026-02-28 23:37:09 -05:00
Joseph Doherty
295d6458aa feat(batch34): implement and verify group A cluster consumer features 2026-02-28 23:30:07 -05:00
Joseph Doherty
cce3163695 feat(batch36): merge stream-lifecycle 2026-02-28 23:28:19 -05:00
Joseph Doherty
f38c0e6b6e batch36 task5-6 group-d-e and test waves t3-t4 2026-02-28 23:20:30 -05:00
Joseph Doherty
f5c27e5ec1 feat(batch33): merge js-cluster-streams 2026-02-28 23:14:30 -05:00
Joseph Doherty
2f2581b335 batch33 task7 port wave T3 raft tests 2026-02-28 23:07:26 -05:00
Joseph Doherty
cbc6ff7144 batch33 task6 port wave T2 raft tests 2026-02-28 23:05:22 -05:00
Joseph Doherty
856cd17554 batch36 task4 stream mirror lifecycle helpers 2026-02-28 23:02:51 -05:00
Joseph Doherty
0bdccc839c batch33 task5 port wave T1 mapped tests 2026-02-28 23:02:03 -05:00