Joseph Doherty
f0b4138459
feat(p7-02): fill opts_test.go stubs — ServerOptionsTests
Write 3 unit tests portable without a running server:
- ListenMonitoringDefault (T:2524): SetBaselineOptions propagates Host → HttpHost
- GetStorageSize (T:2576): StorageSizeJsonConverter.Parse K/M/G/T suffixes
- ClusterNameAndGatewayNameConflict (T:2571): ValidateOptions returns ErrClusterNameConfigConflict
Mark 74 opts_test.go stubs deferred: tests require either the NATS
conf-format parser (not yet ported), a running server (RunServer/NewServer),
or CLI flag-parsing infrastructure (ConfigureOptions).
Fix StorageSizeJsonConverter.Parse to return 0 for empty input,
matching Go getStorageSize("") == (0, nil).
Total unit tests: 638 passing.
2026-02-26 19:00:18 -05:00
..
2026-02-26 19:00:18 -05:00
2026-02-26 06:38:56 -05:00
2026-02-26 13:16:56 -05:00
2026-02-26 15:08:23 -05:00
2026-02-26 07:21:59 -05:00
2026-02-26 16:14:40 -05:00
2026-02-26 16:06:50 -05:00
2026-02-26 19:00:18 -05:00
2026-02-26 17:49:13 -05:00
2026-02-26 17:29:05 -05:00
2026-02-26 14:18:18 -05:00
2026-02-26 11:51:01 -05:00
2026-02-26 15:46:14 -05:00
2026-02-26 16:23:39 -05:00
2026-02-26 13:50:38 -05:00
2026-02-26 08:03:21 -05:00
2026-02-26 07:06:57 -05:00
2026-02-26 18:50:50 -05:00
2026-02-26 09:39:36 -05:00
2026-02-26 17:18:28 -05:00
2026-02-26 15:37:08 -05:00
2026-02-26 16:59:33 -05:00
2026-02-26 09:15:20 -05:00
2026-02-26 16:02:03 -05:00
2026-02-26 18:53:54 -05:00
2026-02-26 07:38:30 -05:00
2026-02-26 18:38:28 -05:00
2026-02-26 16:54:05 -05:00
2026-02-26 17:38:46 -05:00
2026-02-26 12:11:06 -05:00
2026-02-26 08:07:54 -05:00
2026-02-26 07:15:16 -05:00
2026-02-26 15:50:51 -05:00
2026-02-26 18:49:24 -05:00
2026-02-26 07:45:05 -05:00
2026-02-26 07:20:16 -05:00
2026-02-26 16:31:42 -05:00
2026-02-26 12:27:33 -05:00
2026-02-26 07:27:30 -05:00
2026-02-26 11:54:25 -05:00