You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3dbfcf8
Browse filesBrowse the repository at this point in the historyBrowse files
feat(python): add CLUSTER_INFO INFO section and test Valkey 9.2 INFO fields
Add `InfoSection.CLUSTER_INFO` for the `cluster_info` INFO section
(Valkey 9.1.0+), which reports the same fields as `CLUSTER INFO`, and
sort the `InfoSection` members alphabetically.
Extend `test_info_default` and `test_sync_info_default`:
- Default INFO contains one field from each default section.
- Valkey 9.2.0+ only:
- INFO persistence: `rdb_current_bgsave_type` and
`rdb_last_bgsave_type` are one of fork, forkless, or none, and
`forkless_estimated_seconds_remaining` is at least -1.
- INFO cluster_info (cluster mode only):
`cluster_io_main_thread_fallbacks` is at least 0.
Add `get_info` and `sync_get_info` test helpers that return the parsed
INFO fields, sending the command to a random node for cluster clients.
`parse_info_response` becomes the private `_parse_info_response`, and
now splits each line on the first colon only.
Add the same `getInfo` test helper to Java and Node, replacing
`parseInfoResponseToMap` in Java and the `parseInfoResponse` test usages
in Node.
Part of #7199.
Signed-off-by: currantw <taylor.curran@improving.com>
0 commit comments