Commit a750e1a
Pin sf_max_bytes as a rejected key
The rename of sf_max_bytes to sf_max_segment_bytes ships no alias, so
the old spelling must reject as an unknown configuration key. Nothing
asserted that. Every existing drift guard -- WsSenderConfigHonoredTest
and QwpConfigKeysTest -- iterates ConfigSchema.all(), so by
construction they can only catch a half-applied rename, never a
whole-registry one: re-introducing the old key would make them pass
just as happily.
testWsConfigString_withSfMaxBytes_fails asserts the ws:: parse fails
with "unknown configuration key: sf_max_bytes", using the existing
assertBadConfig helper and joining the unknown-key rejection cluster
next to the gorilla / init_buf_size / max_schemas_per_connection
tests.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 478f297 commit a750e1a
1 file changed
Lines changed: 9 additions & 0 deletions
File tree
- core/src/test/java/io/questdb/client/test/cutlass/qwp/client
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
857 | 857 | | |
858 | 858 | | |
859 | 859 | | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
860 | 869 | | |
861 | 870 | | |
862 | 871 | | |
| |||
0 commit comments