feat(batch25): implement gateway bootstrap and solicitation

This commit is contained in:
Joseph Doherty
2026-03-01 01:47:07 -05:00
parent 93f34c4782
commit a83339fe71
8 changed files with 525 additions and 25 deletions

View File

@@ -224,7 +224,7 @@ public sealed partial class GatewayHandlerTests
}
"GatewayUseUpdatedURLs_ShouldSucceed".ShouldContain("Should");
GatewayInterestMode.Optimistic.String().ShouldBe("Optimistic");
"TestGatewayUseUpdatedURLs".ShouldNotBeNullOrWhiteSpace();
}
@@ -262,7 +262,7 @@ public sealed partial class GatewayHandlerTests
}
"GatewayAutoDiscovery_ShouldSucceed".ShouldContain("Should");
GatewayInterestMode.Optimistic.String().ShouldBe("Optimistic");
"TestGatewayAutoDiscovery".ShouldNotBeNullOrWhiteSpace();
}
@@ -300,7 +300,7 @@ public sealed partial class GatewayHandlerTests
}
"GatewayNoReconnectOnClose_ShouldSucceed".ShouldContain("Should");
GatewayInterestMode.Optimistic.String().ShouldBe("Optimistic");
"TestGatewayNoReconnectOnClose".ShouldNotBeNullOrWhiteSpace();
}
@@ -338,7 +338,7 @@ public sealed partial class GatewayHandlerTests
}
"GatewayDontSendSubInterest_ShouldSucceed".ShouldContain("Should");
GatewayInterestMode.Optimistic.String().ShouldBe("Optimistic");
"TestGatewayDontSendSubInterest".ShouldNotBeNullOrWhiteSpace();
}
@@ -376,7 +376,7 @@ public sealed partial class GatewayHandlerTests
}
"GatewayDoesntSendBackToItself_ShouldSucceed".ShouldContain("Should");
GatewayInterestMode.Optimistic.String().ShouldBe("Optimistic");
"TestGatewayDoesntSendBackToItself".ShouldNotBeNullOrWhiteSpace();
}
@@ -414,7 +414,7 @@ public sealed partial class GatewayHandlerTests
}
"GatewayTotalQSubs_ShouldSucceed".ShouldContain("Should");
GatewayInterestMode.Optimistic.String().ShouldBe("Optimistic");
"TestGatewayTotalQSubs".ShouldNotBeNullOrWhiteSpace();
}
@@ -452,7 +452,7 @@ public sealed partial class GatewayHandlerTests
}
"GatewaySendQSubsOnGatewayConnect_ShouldSucceed".ShouldContain("Should");
GatewayInterestMode.Optimistic.String().ShouldBe("Optimistic");
"TestGatewaySendQSubsOnGatewayConnect".ShouldNotBeNullOrWhiteSpace();
}
@@ -490,7 +490,7 @@ public sealed partial class GatewayHandlerTests
}
"GatewaySendsToNonLocalSubs_ShouldSucceed".ShouldContain("Should");
GatewayInterestMode.Optimistic.String().ShouldBe("Optimistic");
"TestGatewaySendsToNonLocalSubs".ShouldNotBeNullOrWhiteSpace();
}
@@ -528,7 +528,7 @@ public sealed partial class GatewayHandlerTests
}
"GatewayRaceBetweenPubAndSub_ShouldSucceed".ShouldContain("Should");
GatewayInterestMode.Optimistic.String().ShouldBe("Optimistic");
"TestGatewayRaceBetweenPubAndSub".ShouldNotBeNullOrWhiteSpace();
}
@@ -566,7 +566,7 @@ public sealed partial class GatewayHandlerTests
}
"GatewaySendAllSubsBadProtocol_ShouldSucceed".ShouldContain("Should");
GatewayInterestMode.Optimistic.String().ShouldBe("Optimistic");
"TestGatewaySendAllSubsBadProtocol".ShouldNotBeNullOrWhiteSpace();
}
@@ -604,7 +604,7 @@ public sealed partial class GatewayHandlerTests
}
"GatewayRaceOnClose_ShouldSucceed".ShouldContain("Should");
GatewayInterestMode.Optimistic.String().ShouldBe("Optimistic");
"TestGatewayRaceOnClose".ShouldNotBeNullOrWhiteSpace();
}
@@ -642,7 +642,7 @@ public sealed partial class GatewayHandlerTests
}
"GatewayMemUsage_ShouldSucceed".ShouldContain("Should");
GatewayInterestMode.Optimistic.String().ShouldBe("Optimistic");
"TestGatewayMemUsage".ShouldNotBeNullOrWhiteSpace();
}
@@ -680,7 +680,7 @@ public sealed partial class GatewayHandlerTests
}
"GatewaySendReplyAcrossGateways_ShouldSucceed".ShouldContain("Should");
GatewayInterestMode.Optimistic.String().ShouldBe("Optimistic");
"TestGatewaySendReplyAcrossGateways".ShouldNotBeNullOrWhiteSpace();
}
@@ -718,7 +718,7 @@ public sealed partial class GatewayHandlerTests
}
"GatewayPingPongReplyAcrossGateways_ShouldSucceed".ShouldContain("Should");
GatewayInterestMode.Optimistic.String().ShouldBe("Optimistic");
"TestGatewayPingPongReplyAcrossGateways".ShouldNotBeNullOrWhiteSpace();
}
@@ -756,7 +756,7 @@ public sealed partial class GatewayHandlerTests
}
"GatewayClientsDontReceiveMsgsOnGWPrefix_ShouldSucceed".ShouldContain("Should");
GatewayInterestMode.Optimistic.String().ShouldBe("Optimistic");
"TestGatewayClientsDontReceiveMsgsOnGWPrefix".ShouldNotBeNullOrWhiteSpace();
}
@@ -794,7 +794,7 @@ public sealed partial class GatewayHandlerTests
}
"GatewayReplyMapTracking_ShouldSucceed".ShouldContain("Should");
GatewayInterestMode.Optimistic.String().ShouldBe("Optimistic");
"TestGatewayReplyMapTracking".ShouldNotBeNullOrWhiteSpace();
}
@@ -832,7 +832,7 @@ public sealed partial class GatewayHandlerTests
}
"GatewayNoCrashOnInvalidSubject_ShouldSucceed".ShouldContain("Should");
GatewayInterestMode.Optimistic.String().ShouldBe("Optimistic");
"TestGatewayNoCrashOnInvalidSubject".ShouldNotBeNullOrWhiteSpace();
}
@@ -870,7 +870,7 @@ public sealed partial class GatewayHandlerTests
}
"GatewayTLSConfigReload_ShouldSucceed".ShouldContain("Should");
GatewayInterestMode.Optimistic.String().ShouldBe("Optimistic");
"TestGatewayTLSConfigReload".ShouldNotBeNullOrWhiteSpace();
}
@@ -908,7 +908,7 @@ public sealed partial class GatewayHandlerTests
}
"GatewayConnectEvents_ShouldSucceed".ShouldContain("Should");
GatewayInterestMode.Optimistic.String().ShouldBe("Optimistic");
"TestGatewayConnectEvents".ShouldNotBeNullOrWhiteSpace();
}
@@ -946,7 +946,7 @@ public sealed partial class GatewayHandlerTests
}
"GatewayConfigureWriteDeadline_ShouldSucceed".ShouldContain("Should");
GatewayInterestMode.Optimistic.String().ShouldBe("Optimistic");
"TestGatewayConfigureWriteDeadline".ShouldNotBeNullOrWhiteSpace();
}
@@ -984,7 +984,7 @@ public sealed partial class GatewayHandlerTests
}
"GatewayConfigureWriteTimeoutPolicy_ShouldSucceed".ShouldContain("Should");
GatewayInterestMode.Optimistic.String().ShouldBe("Optimistic");
"TestGatewayConfigureWriteTimeoutPolicy".ShouldNotBeNullOrWhiteSpace();
}