diff --git a/impltests.md b/impltests.md new file mode 100644 index 0000000..a07203f --- /dev/null +++ b/impltests.md @@ -0,0 +1,762 @@ +# Implementable Unit Tests + +Deferred unit tests whose primary feature is **verified** and all call-graph +dependencies are verified/complete. These tests are ready to port. + +**Total: 573 tests** across 29 test files + +**All IDs:** `83,107,106,93,94,80,85,90,91,109,110,92,97,104,84,88,98,99,113,111,114,127,138,137,141,112,117,121,140,116,132,123,120,122,133,149,150,152,158,313,316,317,315,322,350,336,327,324,341,332,328,329,331,330,344,335,340,323,348,339,337,349,299,306,311,310,309,302,312,300,321,308,320,301,575,626,659,685,686,682,619,633,629,602,654,668,628,657,646,649,665,648,637,656,642,606,607,671,614,636,625,743,949,1298,1299,1252,1253,1287,1358,1357,1359,1293,1235,1379,1236,1249,1303,1334,1333,1332,1330,1328,1306,1346,1347,1297,1356,1340,1341,1349,1350,1348,1343,1355,1352,1291,1264,1326,1395,1392,1385,1401,1415,1410,1409,1404,1411,1403,1562,1563,1660,1690,1745,1610,1594,1590,1591,1586,1695,1699,1701,1702,1700,1752,1748,1602,1601,1585,1612,1593,1572,1692,1535,1619,1762,1630,1628,1539,1618,1703,1709,1704,1652,1763,1693,1596,1477,1720,1605,1722,1728,1725,1727,1726,1573,1575,1655,1697,1641,1667,1613,1597,1510,1511,1556,1598,1603,1592,1677,1750,1749,1536,1552,1713,1776,1540,1678,1773,1772,1774,1659,1668,1686,1782,1551,1710,1615,1616,1634,1681,1711,1661,1731,1733,1734,1735,1664,1790,1789,1786,1787,1788,1807,1808,1887,1822,1873,1855,1891,1874,1838,1835,1836,1839,1833,1883,1853,1872,1846,1847,1864,1895,1884,1867,1875,1889,1890,1881,1858,1860,1861,1857,1999,1915,1987,1983,1985,2014,2015,2006,2013,2003,1974,1925,1927,1958,2010,2012,2011,1968,1936,1926,1998,1957,1956,2008,2007,1923,1967,1965,1912,1907,1921,1953,1993,1996,1997,1994,1970,1976,1928,1992,1948,1951,1949,1944,1945,2016,2009,2122,2137,2140,2139,2136,2138,2142,2073,2124,2118,2110,2069,2070,2107,2106,2078,2156,2076,2153,2154,2075,2155,2081,2079,2091,2084,2082,2089,2080,2088,2083,2085,2086,2074,2104,2077,2094,2105,2071,2072,2126,2128,2130,2132,2066,2103,2068,2159,2158,2162,2145,2129,2135,2147,2065,2134,2152,2119,2151,2133,2095,2149,2116,2109,2098,2101,2102,2100,2099,2164,2123,2067,2163,2148,2096,2097,2168,2181,2241,2192,2269,2277,2292,2284,2193,2242,2226,2288,2283,2289,2260,2261,2287,2187,2266,2240,2211,2210,2201,2231,2202,2254,2256,2255,2198,2233,2252,2179,2249,2220,2221,2189,2286,2263,2203,2197,2209,2207,2206,2205,2214,2208,2278,2279,2281,2183,2282,2230,2258,2185,2265,2267,2232,2361,2360,2356,2331,2354,2357,2347,2349,2350,2358,2355,2353,2342,2341,2338,2340,2339,2335,2337,2336,2470,2374,2373,2406,2456,2446,2450,2448,2449,2410,2425,2381,2383,2378,2377,2466,2375,2380,2511,2507,2552,2585,2561,2780,2764,2760,2751,2749,2748,2758,2757,2759,2755,2791,2792,2789,2790,2782,2783,2787,2784,2786,2809,2818,2853,2852,2864,2865,2856,2863,2860,2861,2836,2838,2840,2835,2855,2830,2846,2843,2842,2841,2833,2816,2814,2808,2811,2907,2896,2898,2886,2891,2887,2888,2902,2905,2903,2900,2942,2941,2953,2946,2951,3119,3118,3121,3111,3115,3116,3128,3127,3125,3124,3105,3126,3106,3120,3122,3114,3131,3178` + +## Summary by File + +| Test File | Count | ID Range | +|-----------|-------|----------| +| `server/jetstream_test.go` | 89 | 1477–1782 | +| `server/monitor_test.go` | 76 | 2065–2164 | +| `server/mqtt_test.go` | 56 | 2179–2292 | +| `server/leafnode_test.go` | 47 | 1907–2016 | +| `server/events_test.go` | 35 | 299–350 | +| `server/jetstream_consumer_test.go` | 35 | 1235–1379 | +| `server/jwt_test.go` | 28 | 1822–1895 | +| `server/gateway_test.go` | 26 | 602–686 | +| `server/routes_test.go` | 25 | 2808–2865 | +| `server/msgtrace_test.go` | 20 | 2331–2361 | +| `server/reload_test.go` | 19 | 2748–2792 | +| `server/accounts_test.go` | 18 | 80–110 | +| `server/norace_1_test.go` | 18 | 2373–2470 | +| `server/websocket_test.go` | 18 | 3105–3178 | +| `server/auth_callout_test.go` | 17 | 111–141 | +| `server/server_test.go` | 11 | 2886–2907 | +| `server/jetstream_leafnode_test.go` | 6 | 1403–1415 | +| `server/jetstream_tpm_test.go` | 5 | 1786–1790 | +| `server/store_test.go` | 5 | 2941–2953 | +| `server/jetstream_jwt_test.go` | 4 | 1385–1401 | +| `server/auth_test.go` | 3 | 149–152 | +| `server/opts_test.go` | 3 | 2552–2585 | +| `server/jetstream_versioning_test.go` | 2 | 1807–1808 | +| `server/norace_2_test.go` | 2 | 2507–2511 | +| `server/certstore_windows_test.go` | 1 | 158–158 | +| `server/filestore_test.go` | 1 | 575–575 | +| `server/jetstream_batching_test.go` | 1 | 743–743 | +| `server/jetstream_cluster_2_test.go` | 1 | 949–949 | +| `server/mqtt_ex_test_test.go` | 1 | 2168–2168 | + +## Details + +### `server/jetstream_test.go` (89 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 1562 | `TestJetStreamAccountImportJSAdvisoriesAsService` | `Server.Shutdown` | +| 1563 | `TestJetStreamAccountImportJSAdvisoriesAsStream` | `Server.Shutdown` | +| 1660 | `TestJetStreamAllowDirectAfterUpdate` | `Server.Shutdown` | +| 1690 | `TestJetStreamChangeMaxMessagesPerSubject` | `Server.Shutdown` | +| 1745 | `TestJetStreamCreateStreamWithSubjectDeleteMarkersOptions` | `Server.Shutdown` | +| 1610 | `TestJetStreamCrossAccountsDeliverSubjectInterest` | `Server.Shutdown` | +| 1594 | `TestJetStreamDefaultMaxMsgsPer` | `Server.Shutdown` | +| 1590 | `TestJetStreamDeliverLastPerSubject` | `Server.Shutdown` | +| 1591 | `TestJetStreamDeliverLastPerSubjectNumPending` | `Server.Shutdown` | +| 1586 | `TestJetStreamDirectConsumersBeingReported` | `Server.Shutdown` | +| 1695 | `TestJetStreamDirectGetBatchMaxBytes` | `Server.Shutdown` | +| 1699 | `TestJetStreamDirectGetMulti` | `Server.Shutdown` | +| 1701 | `TestJetStreamDirectGetMultiMaxAllowed` | `Server.Shutdown` | +| 1702 | `TestJetStreamDirectGetMultiPaging` | `Server.Shutdown` | +| 1700 | `TestJetStreamDirectGetMultiUpToTime` | `Server.Shutdown` | +| 1752 | `TestJetStreamDirectGetStartTimeSingleMsg` | `Server.Shutdown` | +| 1748 | `TestJetStreamDirectGetSubjectDeleteMarker` | `Server.Shutdown` | +| 1602 | `TestJetStreamDisabledLimitsEnforcement` | `Server.Shutdown` | +| 1601 | `TestJetStreamDisabledLimitsEnforcementJWT` | `resolverDefaultsOpsImpl.Close` | +| 1585 | `TestJetStreamDomainInPubAck` | `Server.Shutdown` | +| 1612 | `TestJetStreamEphemeralPullConsumersInactiveThresholdAndNoWait` | `Server.Shutdown` | +| 1593 | `TestJetStreamExpireCausesDeadlock` | `Server.Shutdown` | +| 1572 | `TestJetStreamFilteredConsumersWithWiderFilter` | `Server.Shutdown` | +| 1692 | `TestJetStreamFilteredSubjectUsesNewConsumerCreateSubject` | `Server.Shutdown` | +| 1535 | `TestJetStreamFlowControlRequiresHeartbeats` | `Server.Shutdown` | +| 1619 | `TestJetStreamFlowControlStall` | `Server.Shutdown` | +| 1762 | `TestJetStreamGetNoHeaders` | `Server.Shutdown` | +| 1630 | `TestJetStreamImportConsumerStreamSubjectRemapSingle` | `Server.Shutdown` | +| 1628 | `TestJetStreamImportReload` | `Server.Shutdown` | +| 1539 | `TestJetStreamInfoAPIWithHeaders` | `Server.Shutdown` | +| 1618 | `TestJetStreamInterestRetentionBug` | `Server.Shutdown` | +| 1703 | `TestJetStreamInterestStreamConsumerFilterEdit` | `Server.Shutdown` | +| 1709 | `TestJetStreamInterestStreamWithDuplicateMessages` | `Server.Shutdown` | +| 1704 | `TestJetStreamInterestStreamWithFilterSubjectsConsumer` | `Server.Shutdown` | +| 1652 | `TestJetStreamKVMemoryStorePerf` | `Server.Shutdown` | +| 1763 | `TestJetStreamKVNoSubjectDeleteMarkerOnPurgeMarker` | `Server.Shutdown` | +| 1693 | `TestJetStreamKVReductionInHistory` | `Server.Shutdown` | +| 1596 | `TestJetStreamLongStreamNamesAndPubAck` | `Server.Shutdown` | +| 1477 | `TestJetStreamMaxConsumers` | `Server.Shutdown` | +| 1720 | `TestJetStreamMemoryPurgeClearsSubjectsState` | `Server.Shutdown` | +| 1605 | `TestJetStreamMessagePerSubjectKeepBug` | `Server.Shutdown` | +| 1722 | `TestJetStreamMessageTTL` | `Server.Shutdown` | +| 1728 | `TestJetStreamMessageTTLDisabled` | `Server.Shutdown` | +| 1725 | `TestJetStreamMessageTTLInvalid` | `Server.Shutdown` | +| 1727 | `TestJetStreamMessageTTLNeverExpire` | `Server.Shutdown` | +| 1726 | `TestJetStreamMessageTTLNotUpdatable` | `Server.Shutdown` | +| 1573 | `TestJetStreamMirrorAndSourcesFilteredConsumers` | `Server.Shutdown` | +| 1575 | `TestJetStreamMirrorStripExpectedHeaders` | `Server.Shutdown` | +| 1655 | `TestJetStreamMirrorUpdatesNotSupported` | `Server.Shutdown` | +| 1697 | `TestJetStreamMsgDirectGetAsOfTime` | `Server.Shutdown` | +| 1641 | `TestJetStreamMsgGetNoAdvisory` | `Server.Shutdown` | +| 1667 | `TestJetStreamMsgIDHeaderCollision` | `Server.Shutdown` | +| 1613 | `TestJetStreamNakRedeliveryWithNoWait` | `Server.Shutdown` | +| 1597 | `TestJetStreamPerSubjectPending` | `Server.Shutdown` | +| 1510 | `TestJetStreamPubAckPerf` | `Server.Shutdown` | +| 1511 | `TestJetStreamPubPerfWithFullStream` | `Server.Shutdown` | +| 1556 | `TestJetStreamPubWithSyncPerf` | `Server.Shutdown` | +| 1598 | `TestJetStreamPublishExpectNoMsg` | `Server.Shutdown` | +| 1603 | `TestJetStreamPurgeAndFilteredConsumers` | `Server.Shutdown` | +| 1592 | `TestJetStreamPurgeEffectsConsumerDelivery` | `Server.Shutdown` | +| 1677 | `TestJetStreamPurgeExAndAccounting` | `Server.Shutdown` | +| 1750 | `TestJetStreamPurgeExSeqInInteriorDeleteGap` | `Server.Shutdown` | +| 1749 | `TestJetStreamPurgeExSeqSimple` | `Server.Shutdown` | +| 1536 | `TestJetStreamPushConsumerIdleHeartbeats` | `Server.Shutdown` | +| 1552 | `TestJetStreamPushConsumersPullError` | `Server.Shutdown` | +| 1713 | `TestJetStreamRateLimitHighStreamIngest` | `Server.Shutdown` | +| 1776 | `TestJetStreamReloadMetaCompact` | `Server.Shutdown` | +| 1540 | `TestJetStreamRequestAPI` | `Server.Shutdown` | +| 1678 | `TestJetStreamRollup` | `Server.Shutdown` | +| 1773 | `TestJetStreamScheduledMessageNotDeactivated` | `Server.Shutdown` | +| 1772 | `TestJetStreamScheduledMessageNotTriggering` | `Server.Shutdown` | +| 1774 | `TestJetStreamScheduledMessageParse` | `parseMsgSchedule` | +| 1659 | `TestJetStreamServerCipherConvert` | `Server.Shutdown` | +| 1668 | `TestJetStreamServerCrashOnPullConsumerDeleteWithInactiveThresholdAfterAck` | `Server.Shutdown` | +| 1686 | `TestJetStreamServerReencryption` | `Server.Shutdown` | +| 1782 | `TestJetStreamSourceConfigValidation` | `Server.Shutdown` | +| 1551 | `TestJetStreamStoreDirectoryFix` | `Server.Shutdown` | +| 1710 | `TestJetStreamStreamCreatePedanticMode` | `Server.Shutdown` | +| 1615 | `TestJetStreamStreamInfoSubjectsDetails` | `Server.Shutdown` | +| 1616 | `TestJetStreamStreamInfoSubjectsDetailsWithDeleteAndPurge` | `Server.Shutdown` | +| 1634 | `TestJetStreamStreamRepublishCycle` | `Server.Shutdown` | +| 1681 | `TestJetStreamStreamUpdateWithExternalSource` | `Server.Shutdown` | +| 1711 | `TestJetStreamStrictMode` | `Server.Shutdown` | +| 1661 | `TestJetStreamSubjectBasedFilteredConsumers` | `Server.Shutdown` | +| 1731 | `TestJetStreamSubjectDeleteMarkers` | `Server.Shutdown` | +| 1733 | `TestJetStreamSubjectDeleteMarkersTTLRollupWithMaxAge` | `Server.Shutdown` | +| 1734 | `TestJetStreamSubjectDeleteMarkersTTLRollupWithoutMaxAge` | `Server.Shutdown` | +| 1735 | `TestJetStreamSubjectDeleteMarkersWithMirror` | `Server.Shutdown` | +| 1664 | `TestJetStreamSuppressAllowDirect` | `Server.Shutdown` | + +### `server/monitor_test.go` (76 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 2122 | `Benchmark_VarzHttp` | `Server.Shutdown` | +| 2137 | `TestMonitorAccountStatz` | `Server.Shutdown` | +| 2140 | `TestMonitorAccountStatzDataStatsOperatorMode` | `Server.Shutdown` | +| 2139 | `TestMonitorAccountStatzOperatorMode` | `Server.Shutdown` | +| 2136 | `TestMonitorAccountz` | `Server.Shutdown` | +| 2138 | `TestMonitorAccountzOperatorMode` | `Server.Shutdown` | +| 2142 | `TestMonitorAuthorizedUsers` | `Server.Shutdown` | +| 2073 | `TestMonitorClosedConnzWithSubsDetail` | `Server.Shutdown` | +| 2124 | `TestMonitorCluster` | `RoutesFromStr` | +| 2118 | `TestMonitorClusterEmptyWhenNotDefined` | `Server.Shutdown` | +| 2110 | `TestMonitorConcurrentMonitoring` | `Server.Shutdown` | +| 2069 | `TestMonitorConnz` | `Server.Shutdown` | +| 2070 | `TestMonitorConnzBadParams` | `Server.Shutdown` | +| 2107 | `TestMonitorConnzClosedConnsBadClient` | `Server.Shutdown` | +| 2106 | `TestMonitorConnzClosedConnsRace` | `Server.Shutdown` | +| 2078 | `TestMonitorConnzDefaultSorted` | `Server.Shutdown` | +| 2156 | `TestMonitorConnzIncludesLeafnodes` | `Server.Shutdown` | +| 2076 | `TestMonitorConnzLastActivity` | `Server.Shutdown` | +| 2153 | `TestMonitorConnzOperatorAccountNames` | `Server.Shutdown` | +| 2154 | `TestMonitorConnzOperatorModeFilterByUser` | `Server.Shutdown` | +| 2075 | `TestMonitorConnzRTT` | `Server.Shutdown` | +| 2155 | `TestMonitorConnzSortByRTT` | `Server.Shutdown` | +| 2081 | `TestMonitorConnzSortedByBytesAndMsgs` | `Server.Shutdown` | +| 2079 | `TestMonitorConnzSortedByCid` | `Server.Shutdown` | +| 2091 | `TestMonitorConnzSortedByIdle` | `Server.Shutdown` | +| 2084 | `TestMonitorConnzSortedByLast` | `Server.Shutdown` | +| 2082 | `TestMonitorConnzSortedByPending` | `Server.Shutdown` | +| 2089 | `TestMonitorConnzSortedByReason` | `Server.Shutdown` | +| 2080 | `TestMonitorConnzSortedByStart` | `Server.Shutdown` | +| 2088 | `TestMonitorConnzSortedByStopTimeClosedConn` | `Server.Shutdown` | +| 2083 | `TestMonitorConnzSortedBySubs` | `Server.Shutdown` | +| 2085 | `TestMonitorConnzSortedByUptime` | `Server.Shutdown` | +| 2086 | `TestMonitorConnzSortedByUptimeClosedConn` | `Server.Shutdown` | +| 2074 | `TestMonitorConnzWithCID` | `Server.Shutdown` | +| 2104 | `TestMonitorConnzWithNamedClient` | `Server.Shutdown` | +| 2077 | `TestMonitorConnzWithOffsetAndLimit` | `Server.Shutdown` | +| 2094 | `TestMonitorConnzWithRoutes` | `Server.Shutdown` | +| 2105 | `TestMonitorConnzWithStateForClosedConns` | `Server.Shutdown` | +| 2071 | `TestMonitorConnzWithSubs` | `Server.Shutdown` | +| 2072 | `TestMonitorConnzWithSubsDetail` | `Server.Shutdown` | +| 2126 | `TestMonitorGateway` | `Server.Shutdown` | +| 2128 | `TestMonitorGatewayReportItsOwnURLs` | `Server.Shutdown` | +| 2130 | `TestMonitorGatewayz` | `Server.Shutdown` | +| 2132 | `TestMonitorGatewayzWithSubs` | `NewAccount` | +| 2066 | `TestMonitorHTTPBasePath` | `Server.Shutdown` | +| 2103 | `TestMonitorHandleRoot` | `Server.Shutdown` | +| 2068 | `TestMonitorHandleVarz` | `Server.Shutdown` | +| 2159 | `TestMonitorHealthzStatusError` | `Server.Shutdown` | +| 2158 | `TestMonitorHealthzStatusOK` | `Server.Shutdown` | +| 2162 | `TestMonitorIpqzWithGenerics` | `Server.Shutdown` | +| 2145 | `TestMonitorJszOperatorMode` | `Server.Shutdown` | +| 2129 | `TestMonitorLeafNode` | `NewAccount` | +| 2135 | `TestMonitorLeafz` | `Server.Shutdown` | +| 2147 | `TestMonitorMQTT` | `Server.Shutdown` | +| 2065 | `TestMonitorNoPort` | `Server.Shutdown` | +| 2134 | `TestMonitorOpJWT` | `Server.Shutdown` | +| 2152 | `TestMonitorRoutezPerAccount` | `Server.Shutdown` | +| 2119 | `TestMonitorRoutezPermissions` | `Server.Shutdown` | +| 2151 | `TestMonitorRoutezPoolSize` | `Server.Shutdown` | +| 2133 | `TestMonitorRoutezRTT` | `Server.Shutdown` | +| 2095 | `TestMonitorRoutezWithBadParams` | `Server.Shutdown` | +| 2149 | `TestMonitorServerIDZRequest` | `Server.Shutdown` | +| 2116 | `TestMonitorServerIDs` | `Server.Shutdown` | +| 2109 | `TestMonitorStacksz` | `Server.Shutdown` | +| 2098 | `TestMonitorSubszDetails` | `Server.Shutdown` | +| 2101 | `TestMonitorSubszMultiAccount` | `Server.Shutdown` | +| 2102 | `TestMonitorSubszMultiAccountWithOffsetAndLimit` | `Server.Shutdown` | +| 2100 | `TestMonitorSubszTestPubSubject` | `Server.Shutdown` | +| 2099 | `TestMonitorSubszWithOffsetAndLimit` | `Server.Shutdown` | +| 2164 | `TestMonitorVarzJSApiLevel` | `Server.Shutdown` | +| 2123 | `TestMonitorVarzRaces` | `Server.Shutdown` | +| 2067 | `TestMonitorVarzSubscriptionsResetProperly` | `Server.Shutdown` | +| 2163 | `TestMonitorVarzSyncInterval` | `Server.Shutdown` | +| 2148 | `TestMonitorWebsocket` | `Server.Shutdown` | +| 2096 | `TestSubsz` | `Server.Shutdown` | +| 2097 | `TestSubszOperatorMode` | `Server.Shutdown` | + +### `server/mqtt_test.go` (56 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 2181 | `TestMQTTBasicAuth` | `resolverDefaultsOpsImpl.Close` | +| 2241 | `TestMQTTCleanSession` | `resolverDefaultsOpsImpl.Close` | +| 2192 | `TestMQTTConnKeepAlive` | `resolverDefaultsOpsImpl.Close` | +| 2269 | `TestMQTTConnectAndDisconnectEvent` | `Server.ClientURL` | +| 2277 | `TestMQTTConsumerInactiveThreshold` | `resolverDefaultsOpsImpl.Close` | +| 2292 | `TestMQTTCrossAccountRetain` | `Server.Shutdown` | +| 2284 | `TestMQTTDecodeRetainedMessage` | `resolverDefaultsOpsImpl.Close` | +| 2193 | `TestMQTTDontSetPinger` | `resolverDefaultsOpsImpl.Close` | +| 2242 | `TestMQTTDuplicateClientID` | `resolverDefaultsOpsImpl.Close` | +| 2226 | `TestMQTTImportExport` | `Server.Shutdown` | +| 2288 | `TestMQTTJSApiMapping` | `Server.Shutdown` | +| 2283 | `TestMQTTJetStreamRepublishAndQoS0Subscribers` | `resolverDefaultsOpsImpl.Close` | +| 2289 | `TestMQTTMappingsQoS0` | `Server.Shutdown` | +| 2260 | `TestMQTTMaxAckPendingForMultipleSubs` | `resolverDefaultsOpsImpl.Close` | +| 2261 | `TestMQTTMaxAckPendingOverLimit` | `resolverDefaultsOpsImpl.Close` | +| 2287 | `TestMQTTMaxPayloadEnforced` | `Server.Shutdown` | +| 2187 | `TestMQTTNoAuthUser` | `NewAccount` | +| 2266 | `TestMQTTPartial` | `resolverDefaultsOpsImpl.Close` | +| 2240 | `TestMQTTPermissionsViolation` | `resolverDefaultsOpsImpl.Close` | +| 2211 | `TestMQTTPreventSubWithMQTTSubPrefix` | `resolverDefaultsOpsImpl.Close` | +| 2210 | `TestMQTTPubSubMatrix` | `Server.ClientURL` | +| 2201 | `TestMQTTPublish` | `Server.ClientURL` | +| 2231 | `TestMQTTPublishTopicErrors` | `resolverDefaultsOpsImpl.Close` | +| 2202 | `TestMQTTQoS2PubReject` | `Server.ClientURL` | +| 2254 | `TestMQTTQoS2RejectPublishDuplicates` | `resolverDefaultsOpsImpl.Close` | +| 2256 | `TestMQTTQoS2RetriesPubRel` | `resolverDefaultsOpsImpl.Close` | +| 2255 | `TestMQTTQoS2RetriesPublish` | `resolverDefaultsOpsImpl.Close` | +| 2198 | `TestMQTTQoS2SubDowngrade` | `resolverDefaultsOpsImpl.Close` | +| 2233 | `TestMQTTQoS2WillReject` | `resolverDefaultsOpsImpl.Close` | +| 2252 | `TestMQTTRedeliveryAckWait` | `resolverDefaultsOpsImpl.Close` | +| 2179 | `TestMQTTRequiresJSEnabled` | `NewAccount` | +| 2249 | `TestMQTTRetainedMsgCleanup` | `resolverDefaultsOpsImpl.Close` | +| 2220 | `TestMQTTRetainedMsgMigration` | `resolverDefaultsOpsImpl.Close` | +| 2221 | `TestMQTTRetainedNoMsgBodyCorruption` | `resolverDefaultsOpsImpl.Close` | +| 2189 | `TestMQTTSecondConnect` | `resolverDefaultsOpsImpl.Close` | +| 2286 | `TestMQTTSparkbBirthHandling` | `resolverDefaultsOpsImpl.Close` | +| 2263 | `TestMQTTStreamInfoReturnsNonEmptySubject` | `resolverDefaultsOpsImpl.Close` | +| 2203 | `TestMQTTSub` | `Server.ClientURL` | +| 2197 | `TestMQTTSubAck` | `resolverDefaultsOpsImpl.Close` | +| 2209 | `TestMQTTSubCaseSensitive` | `resolverDefaultsOpsImpl.Close` | +| 2207 | `TestMQTTSubDups` | `resolverDefaultsOpsImpl.Close` | +| 2206 | `TestMQTTSubQoS1` | `Server.ClientURL` | +| 2205 | `TestMQTTSubQoS2Restart` | `resolverDefaultsOpsImpl.Close` | +| 2214 | `TestMQTTSubRestart` | `Server.ClientURL` | +| 2208 | `TestMQTTSubWithSpaces` | `resolverDefaultsOpsImpl.Close` | +| 2278 | `TestMQTTSubjectMapping` | `resolverDefaultsOpsImpl.Close` | +| 2279 | `TestMQTTSubjectMappingWithImportExport` | `resolverDefaultsOpsImpl.Close` | +| 2281 | `TestMQTTSubjectWildcardStart` | `Server.ClientURL` | +| 2183 | `TestMQTTTokenAuth` | `resolverDefaultsOpsImpl.Close` | +| 2282 | `TestMQTTTopicWithDot` | `Server.ClientURL` | +| 2230 | `TestMQTTUnsub` | `resolverDefaultsOpsImpl.Close` | +| 2258 | `TestMQTTUnsubscribeWithPendingAcks` | `resolverDefaultsOpsImpl.Close` | +| 2185 | `TestMQTTUsersAuth` | `resolverDefaultsOpsImpl.Close` | +| 2265 | `TestMQTTWebsocket` | `resolverDefaultsOpsImpl.Close` | +| 2267 | `TestMQTTWebsocketTLS` | `resolverDefaultsOpsImpl.Close` | +| 2232 | `TestMQTTWill` | `Server.ClientURL` | + +### `server/leafnode_test.go` (47 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 1999 | `TestLeafNodeAccountNkeysAuth` | `Server.Shutdown` | +| 1915 | `TestLeafNodeBasicAuthMultiple` | `Server.Shutdown` | +| 1987 | `TestLeafNodeCompressionAuthTimeout` | `Server.Shutdown` | +| 1983 | `TestLeafNodeCompressionWithOlderServer` | `Server.Shutdown` | +| 1985 | `TestLeafNodeCompressionWithWSCompression` | `Server.Shutdown` | +| 2014 | `TestLeafNodeConfigureWriteDeadline` | `Server.Shutdown` | +| 2015 | `TestLeafNodeConfigureWriteTimeoutPolicy` | `Server.Shutdown` | +| 2006 | `TestLeafNodeCredFormatting` | `Server.Shutdown` | +| 2013 | `TestLeafNodeDaisyChainWithAccountImportExport` | `Server.Shutdown` | +| 2003 | `TestLeafNodeDupeDeliveryQueueSubAndPlainSub` | `Server.Shutdown` | +| 1974 | `TestLeafNodeDuplicateMsg` | `Server.Shutdown` | +| 1925 | `TestLeafNodeExportPermissionsNotForSpecialSubs` | `NewAccount` | +| 1927 | `TestLeafNodeHubWithGateways` | `Server.Shutdown` | +| 1958 | `TestLeafNodeInterestPropagationDaisychain` | `Server.Shutdown` | +| 2010 | `TestLeafNodeIsolatedLeafSubjectPropagationGlobal` | `Server.Shutdown` | +| 2012 | `TestLeafNodeIsolatedLeafSubjectPropagationLocalIsolation` | `Server.Shutdown` | +| 2011 | `TestLeafNodeIsolatedLeafSubjectPropagationRequestIsolation` | `Server.Shutdown` | +| 1968 | `TestLeafNodeJetStreamDomainMapCrossTalk` | `Server.Shutdown` | +| 1936 | `TestLeafNodeLMsgSplit` | `Server.Shutdown` | +| 1926 | `TestLeafNodeLoopDetectedOnAcceptSide` | `NewAccount` | +| 1998 | `TestLeafNodeNkeyAuth` | `Server.Shutdown` | +| 1957 | `TestLeafNodeNoMsgLoop` | `Server.Shutdown` | +| 1956 | `TestLeafNodeNoPingBeforeConnect` | `Server.Shutdown` | +| 2008 | `TestLeafNodePermissionWithGateways` | `Server.Shutdown` | +| 2007 | `TestLeafNodePermissionWithLiteralSubjectAndQueueInterest` | `Server.Shutdown` | +| 1923 | `TestLeafNodePermissionsConcurrentAccess` | `Server.Shutdown` | +| 1967 | `TestLeafNodeQueueGroupWithLateLNJoin` | `Server.Shutdown` | +| 1965 | `TestLeafNodeQueueWeightCorrectOnRestart` | `Server.Shutdown` | +| 1912 | `TestLeafNodeRTT` | `Server.Shutdown` | +| 1907 | `TestLeafNodeRandomRemotes` | `Server.Shutdown` | +| 1921 | `TestLeafNodeRemoteIsHub` | `NewAccount` | +| 1953 | `TestLeafNodeRouteSubWithOrigin` | `Server.Shutdown` | +| 1993 | `TestLeafNodeSameLocalAccountToMultipleHubs` | `Server.Shutdown` | +| 1996 | `TestLeafNodeServerReloadSubjectMappings` | `Server.Shutdown` | +| 1997 | `TestLeafNodeServerReloadSubjectMappingsWithSameSubject` | `Server.Shutdown` | +| 1994 | `TestLeafNodeSlowConsumer` | `Server.Shutdown` | +| 1970 | `TestLeafNodeStreamAndShadowSubs` | `Server.Shutdown` | +| 1976 | `TestLeafNodeTLSHandshakeFirstFallbackDelayConfigValues` | `Server.Shutdown` | +| 1928 | `TestLeafNodeTmpClients` | `Server.Shutdown` | +| 1992 | `TestLeafNodeTwoRemotesToSameHubAccountWithClusters` | `Server.Shutdown` | +| 1948 | `TestLeafNodeWSGossip` | `Server.Shutdown` | +| 1951 | `TestLeafNodeWSNoAuthUser` | `Server.Shutdown` | +| 1949 | `TestLeafNodeWSNoBufferCorruption` | `Server.Shutdown` | +| 1944 | `TestLeafNodeWSNoMaskingRejected` | `Server.Shutdown` | +| 1945 | `TestLeafNodeWSSubPath` | `Server.Shutdown` | +| 2016 | `TestLeafNodesBasicTokenAuth` | `Server.Shutdown` | +| 2009 | `TestLeafNodesDisableRemote` | `Server.Shutdown` | + +### `server/events_test.go` (35 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 313 | `TestAccountClaimsUpdates` | `Server.Shutdown` | +| 316 | `TestAccountClaimsUpdatesWithServiceImports` | `Server.Shutdown` | +| 317 | `TestAccountConnsLimitExceededAfterUpdate` | `Server.Shutdown` | +| 315 | `TestAccountReqInfo` | `Server.Shutdown` | +| 322 | `TestServerAccountConns` | `Server.Shutdown` | +| 350 | `TestServerEventsConnectDisconnectForGlobalAcc` | `Server.Shutdown` | +| 336 | `TestServerEventsFilteredByTag` | `Server.Shutdown` | +| 327 | `TestServerEventsHealthZJetStreamNotEnabled` | `Server.Shutdown` | +| 324 | `TestServerEventsHealthZSingleServer` | `Server.Shutdown` | +| 341 | `TestServerEventsLDMKick` | `Server.Shutdown` | +| 332 | `TestServerEventsPingMonitorz` | `Server.Shutdown` | +| 328 | `TestServerEventsPingStatsZ` | `Server.Shutdown` | +| 329 | `TestServerEventsPingStatsZDedicatedRecvQ` | `Server.Shutdown` | +| 331 | `TestServerEventsPingStatsZFailFilter` | `Server.Shutdown` | +| 330 | `TestServerEventsPingStatsZFilter` | `Server.Shutdown` | +| 344 | `TestServerEventsProfileZNotBlockingRecvQ` | `Server.Shutdown` | +| 335 | `TestServerEventsReceivedByQSubs` | `Server.Shutdown` | +| 340 | `TestServerEventsReload` | `Server.Shutdown` | +| 323 | `TestServerEventsStatsZ` | `Server.Shutdown` | +| 348 | `TestServerEventsStatszMaxProcsMemLimit` | `Server.Shutdown` | +| 339 | `TestServerEventsStatszSingleServer` | `Server.Shutdown` | +| 337 | `TestServerUnstableEventFilterMatch` | `Server.Shutdown` | +| 349 | `TestSubszPagination` | `Server.Shutdown` | +| 299 | `TestSystemAccount` | `Server.Shutdown` | +| 306 | `TestSystemAccountConnectionLimits` | `Server.Shutdown` | +| 311 | `TestSystemAccountConnectionLimitsServerShutdownForced` | `Server.Shutdown` | +| 310 | `TestSystemAccountConnectionLimitsServerShutdownGraceful` | `Server.Shutdown` | +| 309 | `TestSystemAccountConnectionLimitsServersStaggered` | `Server.Shutdown` | +| 302 | `TestSystemAccountDisconnectBadLogin` | `Server.Shutdown` | +| 312 | `TestSystemAccountFromConfig` | `NewServer` | +| 300 | `TestSystemAccountNewConnection` | `Server.Shutdown` | +| 321 | `TestSystemAccountNoAuthUser` | `Server.Shutdown` | +| 308 | `TestSystemAccountSystemConnectionLimitsHonored` | `Server.Shutdown` | +| 320 | `TestSystemAccountWithGateways` | `Server.Shutdown` | +| 301 | `TestSystemAccountingWithLeafNodes` | `Server.Shutdown` | + +### `server/jetstream_consumer_test.go` (35 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 1298 | `TestJetStreamConsumerAckSampling` | `Server.Shutdown` | +| 1299 | `TestJetStreamConsumerAckSamplingSpecifiedUsingUpdateConsumer` | `Server.Shutdown` | +| 1252 | `TestJetStreamConsumerBackoffNotRespectedWithMultipleInflightRedeliveries` | `Server.Shutdown` | +| 1253 | `TestJetStreamConsumerBackoffWhenBackoffLengthIsEqualToMaxDeliverConfig` | `Server.Shutdown` | +| 1287 | `TestJetStreamConsumerBadNumPending` | `Server.Shutdown` | +| 1358 | `TestJetStreamConsumerDeliverAllNonOverlappingFilterSubjects` | `Server.Shutdown` | +| 1357 | `TestJetStreamConsumerDeliverAllOverlappingFilterSubjects` | `Server.Shutdown` | +| 1359 | `TestJetStreamConsumerDeliverPartialOverlappingFilterSubjects` | `Server.Shutdown` | +| 1293 | `TestJetStreamConsumerEventingRaceOnShutdown` | `Server.Shutdown` | +| 1235 | `TestJetStreamConsumerFetchWithDrain` | `Server.Shutdown` | +| 1379 | `TestJetStreamConsumerLegacyDurableCreateSetsConsumerName` | `Server.Shutdown` | +| 1236 | `TestJetStreamConsumerLongSubjectHang` | `Server.Shutdown` | +| 1249 | `TestJetStreamConsumerMultipleFitersWithStartDate` | `Server.Shutdown` | +| 1303 | `TestJetStreamConsumerNumPendingWithMaxPerSubjectGreaterThanOne` | `Server.Shutdown` | +| 1334 | `TestJetStreamConsumerPauseAdvisories` | `Server.Shutdown` | +| 1333 | `TestJetStreamConsumerPauseHeartbeats` | `Server.Shutdown` | +| 1332 | `TestJetStreamConsumerPauseResumeViaEndpoint` | `Server.Shutdown` | +| 1330 | `TestJetStreamConsumerPauseViaConfig` | `Server.Shutdown` | +| 1328 | `TestJetStreamConsumerPendingForKV` | `Server.Shutdown` | +| 1306 | `TestJetStreamConsumerPullConsumerFIFO` | `Server.Shutdown` | +| 1346 | `TestJetStreamConsumerPullCrossAccountExpiresNoDataRace` | `Server.Shutdown` | +| 1347 | `TestJetStreamConsumerPullCrossAccountsAndLeafNodes` | `Server.Shutdown` | +| 1297 | `TestJetStreamConsumerPullHeartBeats` | `Server.Shutdown` | +| 1356 | `TestJetStreamConsumerPullMaxBytes` | `Server.Shutdown` | +| 1340 | `TestJetStreamConsumerPullMaxWaitingOfOne` | `Server.Shutdown` | +| 1341 | `TestJetStreamConsumerPullMaxWaitingOfOneWithHeartbeatInterval` | `Server.Shutdown` | +| 1349 | `TestJetStreamConsumerPullMultipleRequestsExpireOutOfOrder` | `Server.Shutdown` | +| 1350 | `TestJetStreamConsumerPullNoAck` | `Server.Shutdown` | +| 1348 | `TestJetStreamConsumerPullOneShotBehavior` | `Server.Shutdown` | +| 1343 | `TestJetStreamConsumerPullRequestCleanup` | `Server.Shutdown` | +| 1355 | `TestJetStreamConsumerPullTimeout` | `Server.Shutdown` | +| 1352 | `TestJetStreamConsumerPullTimeoutHeaders` | `Server.Shutdown` | +| 1291 | `TestJetStreamConsumerPushBound` | `Server.Shutdown` | +| 1264 | `TestJetStreamConsumerSingleTokenSubject` | `Server.Shutdown` | +| 1326 | `TestJetStreamConsumerWithFormattingSymbol` | `Server.Shutdown` | + +### `server/jwt_test.go` (28 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 1887 | `TestJWTAccountConnzAccessAfterClaimUpdate` | `Account.AddMapping` | +| 1822 | `TestJWTAccountExportWithResponseType` | `Server.Shutdown` | +| 1873 | `TestJWTAccountImportsWithWildcardSupport` | `Server.Shutdown` | +| 1855 | `TestJWTAccountNATSResolverCrossClusterFetch` | `resolverDefaultsOpsImpl.Close` | +| 1891 | `TestJWTAccountNATSResolverWrongCreds` | `resolverDefaultsOpsImpl.Close` | +| 1874 | `TestJWTAccountTokenImportMisuse` | `NewServer` | +| 1838 | `TestJWTAccountURLResolverFetchFailureInCluster` | `NewServer` | +| 1835 | `TestJWTAccountURLResolverFetchFailureInServer1` | `NewServer` | +| 1836 | `TestJWTAccountURLResolverFetchFailurePushReorder` | `NewServer` | +| 1839 | `TestJWTAccountURLResolverReturnDifferentOperator` | `NewServer` | +| 1833 | `TestJWTAccountURLResolverTimeout` | `NewServer` | +| 1883 | `TestJWTClaimsUpdateWithHeaders` | `Server.Shutdown` | +| 1853 | `TestJWTExpiredUserCredentialsRenewal` | `Server.Name` | +| 1872 | `TestJWTHeader` | `Server.Shutdown` | +| 1846 | `TestJWTImportTokenRevokedAfter` | `Server.Shutdown` | +| 1847 | `TestJWTImportTokenRevokedBefore` | `Server.Shutdown` | +| 1864 | `TestJWTInLineTemplates` | `processUserPermissionsTemplate` | +| 1895 | `TestJWTJetStreamClientsExcludedForMaxConnsUpdate` | `Server.Shutdown` | +| 1884 | `TestJWTMappings` | `Account.AddMapping` | +| 1867 | `TestJWTNoOperatorMode` | `Server.Shutdown` | +| 1875 | `TestJWTResponseThreshold` | `Server.Shutdown` | +| 1889 | `TestJWTServerOperatorModeNoAuthRequired` | `Server.Shutdown` | +| 1890 | `TestJWTServerOperatorModeUserInfoExpiration` | `Server.Shutdown` | +| 1881 | `TestJWTStrictSigningKeys` | `resolverDefaultsOpsImpl.Close` | +| 1858 | `TestJWTSysImportForDifferentAccount` | `Server.Shutdown` | +| 1860 | `TestJWTSysImportOverwritePublic` | `Server.Shutdown` | +| 1861 | `TestJWTSysImportOverwriteToken` | `Server.Shutdown` | +| 1857 | `TestJWTTimeExpiration` | `Server.Shutdown` | + +### `server/gateway_test.go` (26 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 626 | `TestGatewayAutoDiscovery` | `Server.Shutdown` | +| 659 | `TestGatewayClientsDontReceiveMsgsOnGWPrefix` | `Server.Shutdown` | +| 685 | `TestGatewayConfigureWriteDeadline` | `Server.Shutdown` | +| 686 | `TestGatewayConfigureWriteTimeoutPolicy` | `Server.Shutdown` | +| 682 | `TestGatewayConnectEvents` | `Server.ClientURL` | +| 619 | `TestGatewayCreateImplicitOnNewRoute` | `Server.Shutdown` | +| 633 | `TestGatewayDoesntSendBackToItself` | `Server.Shutdown` | +| 629 | `TestGatewayDontSendSubInterest` | `Server.Shutdown` | +| 602 | `TestGatewayHeaderInfo` | `Server.Shutdown` | +| 654 | `TestGatewayMemUsage` | `Server.Shutdown` | +| 668 | `TestGatewayNoCrashOnInvalidSubject` | `Server.Shutdown` | +| 628 | `TestGatewayNoReconnectOnClose` | `Server.Shutdown` | +| 657 | `TestGatewayPingPongReplyAcrossGateways` | `NewAccount` | +| 646 | `TestGatewayRaceBetweenPubAndSub` | `Server.Shutdown` | +| 649 | `TestGatewayRaceOnClose` | `Server.Shutdown` | +| 665 | `TestGatewayReplyMapTracking` | `Server.Shutdown` | +| 648 | `TestGatewaySendAllSubsBadProtocol` | `Server.Shutdown` | +| 637 | `TestGatewaySendQSubsOnGatewayConnect` | `Server.Shutdown` | +| 656 | `TestGatewaySendReplyAcrossGateways` | `NewAccount` | +| 642 | `TestGatewaySendsToNonLocalSubs` | `Server.Shutdown` | +| 606 | `TestGatewaySolicitDelayWithImplicitOutbounds` | `Server.Shutdown` | +| 607 | `TestGatewaySolicitShutdown` | `Server.Shutdown` | +| 671 | `TestGatewayTLSConfigReload` | `Server.Shutdown` | +| 614 | `TestGatewayTLSErrors` | `Server.Shutdown` | +| 636 | `TestGatewayTotalQSubs` | `Server.Shutdown` | +| 625 | `TestGatewayUseUpdatedURLs` | `Server.Shutdown` | + +### `server/routes_test.go` (25 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 2809 | `TestClientConnectToRoutePort` | `Server.Shutdown` | +| 2818 | `TestRouteClusterNameConflictBetweenStaticAndDynamic` | `Server.Shutdown` | +| 2853 | `TestRouteCompressionImplicitRoute` | `Server.Shutdown` | +| 2852 | `TestRouteCompressionWithOlderServer` | `Server.Shutdown` | +| 2864 | `TestRouteConfigureWriteDeadline` | `Server.Shutdown` | +| 2865 | `TestRouteConfigureWriteTimeoutPolicy` | `Server.Shutdown` | +| 2856 | `TestRouteCustomPing` | `Server.Shutdown` | +| 2863 | `TestRouteImplicitJoinsSeparateGroups` | `Server.setOpts` | +| 2860 | `TestRouteNoLeakOnAuthTimeout` | `Server.Shutdown` | +| 2861 | `TestRouteNoRaceOnClusterNameNegotiation` | `NewAccount` | +| 2836 | `TestRoutePerAccountDefaultForSysAccount` | `Server.Shutdown` | +| 2838 | `TestRoutePerAccountGossipWorks` | `Server.Shutdown` | +| 2840 | `TestRoutePerAccountGossipWorksWithOldServerSeed` | `Server.Shutdown` | +| 2835 | `TestRoutePerAccountImplicit` | `Server.Shutdown` | +| 2855 | `TestRoutePings` | `Server.Shutdown` | +| 2830 | `TestRoutePool` | `Server.Shutdown` | +| 2846 | `TestRoutePoolAndPerAccountWithOlderServer` | `Server.Shutdown` | +| 2843 | `TestRoutePoolAndPerAccountWithServiceLatencyNoDataRace` | `Server.Shutdown` | +| 2842 | `TestRoutePoolPerAccountStreamImport` | `Server.Shutdown` | +| 2841 | `TestRoutePoolPerAccountSubUnsubProtoParsing` | `Server.Shutdown` | +| 2833 | `TestRoutePoolSizeDifferentOnEachServer` | `Server.Shutdown` | +| 2816 | `TestRouteRTT` | `Server.Shutdown` | +| 2814 | `TestRouteSendLocalSubsWithLowMaxPending` | `Server.Shutdown` | +| 2808 | `TestRouteUseIPv6` | `Server.Shutdown` | +| 2811 | `TestServerPoolUpdatedWhenRouteGoesAway` | `RoutesFromStr` | + +### `server/msgtrace_test.go` (20 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 2361 | `TestMsgTraceAccDestWithSamplingJWTUpdate` | `Server.Shutdown` | +| 2360 | `TestMsgTraceAccountDestWithSampling` | `MsgTraceEvent.Ingress` | +| 2356 | `TestMsgTraceAccountTraceDestJWTUpdate` | `Server.Shutdown` | +| 2331 | `TestMsgTraceBasic` | `MsgTraceEvent.Ingress` | +| 2354 | `TestMsgTraceHops` | `MsgTraceEvent.Ingress` | +| 2357 | `TestMsgTraceServiceJWTUpdate` | `MsgTraceEvent.Ingress` | +| 2347 | `TestMsgTraceStreamExport` | `MsgTraceEvent.Ingress` | +| 2349 | `TestMsgTraceStreamExportWithLeafNode_Hub` | `MsgTraceEvent.Ingress` | +| 2350 | `TestMsgTraceStreamExportWithLeafNode_Leaf` | `MsgTraceEvent.Ingress` | +| 2358 | `TestMsgTraceStreamJWTUpdate` | `MsgTraceEvent.StreamExports` | +| 2355 | `TestMsgTraceTriggeredByExternalHeader` | `Server.Shutdown` | +| 2353 | `TestMsgTraceWithCompression` | `MsgTraceEvent.Ingress` | +| 2342 | `TestMsgTraceWithGatewayToOldServer` | `MsgTraceEvent.Ingress` | +| 2341 | `TestMsgTraceWithGateways` | `MsgTraceEvent.Ingress` | +| 2338 | `TestMsgTraceWithLeafNode` | `MsgTraceEvent.Ingress` | +| 2340 | `TestMsgTraceWithLeafNodeDaisyChain` | `MsgTraceEvent.Ingress` | +| 2339 | `TestMsgTraceWithLeafNodeToOldServer` | `MsgTraceEvent.Ingress` | +| 2335 | `TestMsgTraceWithQueueSub` | `MsgTraceEvent.Ingress` | +| 2337 | `TestMsgTraceWithRouteToOldServer` | `MsgTraceEvent.Ingress` | +| 2336 | `TestMsgTraceWithRoutes` | `MsgTraceEvent.Ingress` | + +### `server/reload_test.go` (19 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 2780 | `TestConfigReloadAccountMappings` | `Server.Shutdown` | +| 2764 | `TestConfigReloadAccountServicesImportExport` | `Server.Shutdown` | +| 2760 | `TestConfigReloadAccountUsers` | `Server.Shutdown` | +| 2751 | `TestConfigReloadClientAdvertise` | `Server.Shutdown` | +| 2749 | `TestConfigReloadClusterName` | `Server.Shutdown` | +| 2748 | `TestConfigReloadClusterNoAdvertise` | `Server.Shutdown` | +| 2758 | `TestConfigReloadClusterPermsExport` | `Server.Shutdown` | +| 2757 | `TestConfigReloadClusterPermsImport` | `Server.Shutdown` | +| 2759 | `TestConfigReloadClusterPermsOldServer` | `Server.Shutdown` | +| 2755 | `TestConfigReloadClusterWorks` | `Server.Shutdown` | +| 2791 | `TestConfigReloadLeafNodeCompression` | `Server.Shutdown` | +| 2792 | `TestConfigReloadLeafNodeCompressionS2Auto` | `Server.Shutdown` | +| 2789 | `TestConfigReloadRouteCompression` | `Server.Shutdown` | +| 2790 | `TestConfigReloadRouteCompressionS2Auto` | `Server.Shutdown` | +| 2782 | `TestConfigReloadRouteImportPermissionsWithAccounts` | `Server.Shutdown` | +| 2783 | `TestConfigReloadRoutePoolAndPerAccount` | `Server.Shutdown` | +| 2787 | `TestConfigReloadRoutePoolAndPerAccountNoDuplicateSub` | `Server.Shutdown` | +| 2784 | `TestConfigReloadRoutePoolAndPerAccountNoPanicIfFirstAdded` | `Server.Shutdown` | +| 2786 | `TestConfigReloadRoutePoolAndPerAccountWithOlderServer` | `Server.Shutdown` | + +### `server/accounts_test.go` (18 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 83 | `TestAccountBasicRouteMapping` | `Account.AddMapping` | +| 107 | `TestAccountImportDuplicateResponseDeliveryWithLeafnodes` | `resolverDefaultsOpsImpl.Close` | +| 106 | `TestAccountImportOwnExport` | `resolverDefaultsOpsImpl.Close` | +| 93 | `TestAccountImportsWithWildcardSupport` | `resolverDefaultsOpsImpl.Close` | +| 94 | `TestAccountImportsWithWildcardSupportStreamAndService` | `resolverDefaultsOpsImpl.Close` | +| 80 | `TestAccountMultipleServiceImportsWithSameSubjectFromDifferentAccounts` | `resolverDefaultsOpsImpl.Close` | +| 85 | `TestAccountRouteMappingChangesAfterClientStart` | `resolverDefaultsOpsImpl.Close` | +| 90 | `TestAccountRouteMappingsWithLossInjection` | `resolverDefaultsOpsImpl.Close` | +| 91 | `TestAccountRouteMappingsWithOriginClusterFilter` | `resolverDefaultsOpsImpl.Close` | +| 109 | `TestAccountServiceAndStreamExportDoubleDelivery` | `resolverDefaultsOpsImpl.Close` | +| 110 | `TestAccountServiceImportNoResponders` | `resolverDefaultsOpsImpl.Close` | +| 92 | `TestAccountServiceImportWithRouteMappings` | `Account.AddMapping` | +| 97 | `TestAccountSystemPermsWithGlobalAccess` | `resolverDefaultsOpsImpl.Close` | +| 104 | `TestAccountUserSubPermsWithQueueGroups` | `resolverDefaultsOpsImpl.Close` | +| 84 | `TestAccountWildcardRouteMapping` | `Account.AddMapping` | +| 88 | `TestGlobalAccountRouteMappingsConfiguration` | `resolverDefaultsOpsImpl.Close` | +| 98 | `TestImportSubscriptionPartialOverlapWithPrefix` | `resolverDefaultsOpsImpl.Close` | +| 99 | `TestImportSubscriptionPartialOverlapWithTransform` | `resolverDefaultsOpsImpl.Close` | + +### `server/norace_1_test.go` (18 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 2470 | `TestNoRaceClientOutboundQueueMemory` | `Server.Shutdown` | +| 2374 | `TestNoRaceClosedSlowConsumerPendingBytes` | `Server.Shutdown` | +| 2373 | `TestNoRaceClosedSlowConsumerWriteDeadline` | `Server.Shutdown` | +| 2406 | `TestNoRaceCompressedConnz` | `Server.Shutdown` | +| 2456 | `TestNoRaceJetStreamConsumerCreateTimeNumPending` | `Server.Shutdown` | +| 2446 | `TestNoRaceJetStreamDeleteConsumerWithInterestStreamAndHighSeqs` | `Server.Shutdown` | +| 2450 | `TestNoRaceJetStreamEndToEndLatency` | `Server.Shutdown` | +| 2448 | `TestNoRaceJetStreamLargeNumConsumersPerfImpact` | `Server.Shutdown` | +| 2449 | `TestNoRaceJetStreamLargeNumConsumersSparseDelivery` | `Server.Shutdown` | +| 2410 | `TestNoRaceJetStreamOrderedConsumerMissingMsg` | `Server.Shutdown` | +| 2425 | `TestNoRaceJetStreamSparseConsumers` | `Server.Shutdown` | +| 2381 | `TestNoRaceLeafNodeClusterNameConflictDeadlock` | `Server.Shutdown` | +| 2383 | `TestNoRaceQueueAutoUnsubscribe` | `Server.Shutdown` | +| 2378 | `TestNoRaceRouteCache` | `Server.Shutdown` | +| 2377 | `TestNoRaceRouteMemUsage` | `Server.Shutdown` | +| 2466 | `TestNoRaceRoutePool` | `Server.Shutdown` | +| 2375 | `TestNoRaceSlowConsumerPendingBytes` | `Server.Shutdown` | +| 2380 | `TestNoRaceWriteDeadline` | `Server.Shutdown` | + +### `server/websocket_test.go` (18 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 3119 | `TestWSAuthTimeout` | `Server.Shutdown` | +| 3118 | `TestWSBasicAuth` | `Server.Shutdown` | +| 3121 | `TestWSBindToProperAccount` | `Server.Shutdown` | +| 3111 | `TestWSCloseMsgSendOnConnectionClose` | `Server.Shutdown` | +| 3115 | `TestWSCompressionBasic` | `captureHTTPServerLog.Write` | +| 3116 | `TestWSCompressionWithPartialWrite` | `Server.Shutdown` | +| 3128 | `TestWSJWTCookieUser` | `Server.Shutdown` | +| 3127 | `TestWSJWTWithAllowedConnectionTypes` | `Server.Shutdown` | +| 3125 | `TestWSNkeyAuth` | `Server.Shutdown` | +| 3124 | `TestWSNoAuthUser` | `NewAccount` | +| 3105 | `TestWSPubSub` | `Server.Shutdown` | +| 3126 | `TestWSSetHeaderServer` | `Server.Shutdown` | +| 3106 | `TestWSTLSConnection` | `Server.Shutdown` | +| 3120 | `TestWSTokenAuth` | `Server.Shutdown` | +| 3122 | `TestWSUsersAuth` | `Server.Shutdown` | +| 3114 | `TestWSWebrowserClient` | `client.isWebsocket` | +| 3131 | `TestWSWithPartialWrite` | `Server.Shutdown` | +| 3178 | `TestWebsocketPingInterval` | `Server.Shutdown` | + +### `server/auth_callout_test.go` (17 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 113 | `TestAuthCalloutAllowedAccounts` | `resolverDefaultsOpsImpl.Close` | +| 111 | `TestAuthCalloutBasics` | `resolverDefaultsOpsImpl.Close` | +| 114 | `TestAuthCalloutClientTLSCerts` | `resolverDefaultsOpsImpl.Close` | +| 127 | `TestAuthCalloutConnectEvents` | `resolverDefaultsOpsImpl.Close` | +| 138 | `TestAuthCalloutLeafNodeAndConfigMode` | `resolverDefaultsOpsImpl.Close` | +| 137 | `TestAuthCalloutLeafNodeAndOperatorMode` | `resolverDefaultsOpsImpl.Close` | +| 141 | `TestAuthCalloutLeafNodeOperatorModeMismatchedCreds` | `Server.getOpts` | +| 112 | `TestAuthCalloutMultiAccounts` | `resolverDefaultsOpsImpl.Close` | +| 117 | `TestAuthCalloutOperatorModeBasics` | `resolverDefaultsOpsImpl.Close` | +| 121 | `TestAuthCalloutOperatorModeEncryption` | `NoOpCache.Get` | +| 140 | `TestAuthCalloutOperatorModeMismatchedCalloutCreds` | `Server.Shutdown` | +| 116 | `TestAuthCalloutOperatorNoServerConfigCalloutAllowed` | `NewServer` | +| 132 | `TestAuthCalloutOperator_AnyAccount` | `resolverDefaultsOpsImpl.Close` | +| 123 | `TestAuthCalloutServerClusterAndVersion` | `resolverDefaultsOpsImpl.Close` | +| 120 | `TestAuthCalloutServerConfigEncryption` | `NoOpCache.Get` | +| 122 | `TestAuthCalloutServerTags` | `resolverDefaultsOpsImpl.Close` | +| 133 | `TestAuthCalloutWSClientTLSCerts` | `resolverDefaultsOpsImpl.Close` | + +### `server/server_test.go` (11 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 2907 | `TestBuildinfoFormatRevision` | `formatRevision` | +| 2896 | `TestClientWriteLoopStall` | `Server.Shutdown` | +| 2898 | `TestConnectErrorReports` | `Server.Shutdown` | +| 2886 | `TestCustomRouterAuthentication` | `Server.Shutdown` | +| 2891 | `TestLameDuckModeInfo` | `Server.Shutdown` | +| 2887 | `TestMonitoringNoTimeout` | `Server.Shutdown` | +| 2888 | `TestProfilingNoTimeout` | `Server.Shutdown` | +| 2902 | `TestServerAuthBlockAndSysAccounts` | `Server.Shutdown` | +| 2905 | `TestServerClientURL` | `NewServer` | +| 2903 | `TestServerConfigLastLineComments` | `Server.Shutdown` | +| 2900 | `TestServerLogsConfigurationFile` | `Server.Name` | + +### `server/jetstream_leafnode_test.go` (6 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 1415 | `TestJetStreamLeafNodeAndMirrorResyncAfterLeafEstablished` | `Server.Shutdown` | +| 1410 | `TestJetStreamLeafNodeDefaultDomainClusterBothEnds` | `Server.Shutdown` | +| 1409 | `TestJetStreamLeafNodeDefaultDomainJwtExplicit` | `Server.Shutdown` | +| 1404 | `TestJetStreamLeafNodeJwtPermsAndJSDomains` | `Server.Shutdown` | +| 1411 | `TestJetStreamLeafNodeSvcImportExportCycle` | `Server.Shutdown` | +| 1403 | `TestJetStreamLeafNodeUniqueServerNameCrossJSDomain` | `raft.ID` | + +### `server/jetstream_tpm_test.go` (5 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 1790 | `TestJetStreamInvalidConfig` | `Server.Running` | +| 1789 | `TestJetStreamTPMAll` | `Server.Shutdown` | +| 1786 | `TestJetStreamTPMBasic` | `Server.Shutdown` | +| 1787 | `TestJetStreamTPMKeyBadPassword` | `Server.Shutdown` | +| 1788 | `TestJetStreamTPMKeyWithPCR` | `Server.Shutdown` | + +### `server/store_test.go` (5 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 2942 | `TestStoreLoadNextMsgWildcardStartBeforeFirstMatch` | `fileStore.StoreMsg` | +| 2941 | `TestStoreMsgLoadNextMsgMulti` | `fileStore.StoreMsg` | +| 2953 | `TestStoreMsgLoadPrevMsgMulti` | `fileStore.StoreMsg` | +| 2946 | `TestStoreSubjectStateConsistencyOptimization` | `fileStore.StoreMsg` | +| 2951 | `TestStoreUpdateConfigTTLState` | `consumer.config` | + +### `server/jetstream_jwt_test.go` (4 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 1395 | `TestJetStreamJWTDeletedAccountIsReEnabled` | `Server.Shutdown` | +| 1392 | `TestJetStreamJWTExpiredAccountNotCountedTowardLimits` | `Server.Shutdown` | +| 1385 | `TestJetStreamJWTLimits` | `resolverDefaultsOpsImpl.Close` | +| 1401 | `TestJetStreamJWTUpdateWithPreExistingStream` | `resolverDefaultsOpsImpl.Close` | + +### `server/auth_test.go` (3 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 149 | `TestNoAuthUser` | `Server.Shutdown` | +| 150 | `TestNoAuthUserNkey` | `Server.Shutdown` | +| 152 | `TestNoAuthUserNoConnectProto` | `Server.Shutdown` | + +### `server/opts_test.go` (3 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 2552 | `TestAccountUsersLoadedProperly` | `Server.Shutdown` | +| 2585 | `TestNewServerFromConfigVsLoadConfig` | `NewServer` | +| 2561 | `TestSublistNoCacheConfigOnAccounts` | `Server.Shutdown` | + +### `server/jetstream_versioning_test.go` (2 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 1807 | `TestJetStreamApiErrorOnRequiredApiLevelDirectGet` | `Server.Shutdown` | +| 1808 | `TestJetStreamApiErrorOnRequiredApiLevelPullConsumerNextMsg` | `Server.Shutdown` | + +### `server/norace_2_test.go` (2 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 2511 | `TestNoRaceAccessTimeLeakCheck` | `Server.Shutdown` | +| 2507 | `TestNoRaceProducerStallLimits` | `Server.Shutdown` | + +### `server/certstore_windows_test.go` (1 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 158 | `TestWindowsTLS12ECDSA` | `Server.Shutdown` | + +### `server/filestore_test.go` (1 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 575 | `TestJetStreamFileStoreSubjectsRemovedAfterSecureErase` | `Server.Shutdown` | + +### `server/jetstream_batching_test.go` (1 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 743 | `TestJetStreamAtomicBatchPublishExpectedLastSubjectSequence` | `Server.Shutdown` | + +### `server/jetstream_cluster_2_test.go` (1 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 949 | `TestJetStreamClusterMirrorAndSourceCrossNonNeighboringDomain` | `Server.Shutdown` | + +### `server/mqtt_ex_test_test.go` (1 tests) + +| ID | Test Method | Primary Feature | +|----|-------------|-----------------| +| 2168 | `TestXMQTTCompliance` | `Server.getOpts` | diff --git a/reports/current.md b/reports/current.md index 43076a6..402cc25 100644 --- a/reports/current.md +++ b/reports/current.md @@ -1,6 +1,6 @@ # NATS .NET Porting Status Report -Generated: 2026-02-27 15:28:21 UTC +Generated: 2026-02-27 15:32:34 UTC ## Modules (12 total) diff --git a/reports/report_fe2483d.md b/reports/report_fe2483d.md new file mode 100644 index 0000000..402cc25 --- /dev/null +++ b/reports/report_fe2483d.md @@ -0,0 +1,37 @@ +# NATS .NET Porting Status Report + +Generated: 2026-02-27 15:32:34 UTC + +## Modules (12 total) + +| Status | Count | +|--------|-------| +| verified | 12 | + +## Features (3673 total) + +| Status | Count | +|--------|-------| +| deferred | 2377 | +| n_a | 24 | +| stub | 1 | +| verified | 1271 | + +## Unit Tests (3257 total) + +| Status | Count | +|--------|-------| +| deferred | 2660 | +| n_a | 187 | +| verified | 410 | + +## Library Mappings (36 total) + +| Status | Count | +|--------|-------| +| mapped | 36 | + + +## Overall Progress + +**1904/6942 items complete (27.4%)**