Repository navigation
Commit 70ffd6e
authored
* feat: validate StorageType in NatsStreamOptionsValidator
Reject StorageType values that are not defined StreamConfigStorage enum
members before they reach JetStream, throwing OrleansConfigurationException
with the valid values (File/Memory). Addresses review feedback on #10028.
* test: pin NATS endpoint in StorageType test
Addresses PR #10028 review: use NatsTestConstants.NatsClientOptions for
both the connection manager options and the verification connection so the
stream is created against and queried from the same pinned server endpoint.
1 parent e29301a commit 70ffd6e
2 files changed
Lines changed: 10 additions & 2 deletions
File tree
- src/Orleans.Streaming.NATS
- test/Extensions/Orleans.Streaming.NATS.Tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
94 | 101 | | |
95 | 102 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
| 164 | + | |
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
169 | | - | |
| 170 | + | |
170 | 171 | | |
171 | 172 | | |
172 | 173 | | |
| |||
0 commit comments