diff options
author | Oran Agra <oran@redislabs.com> | 2021-09-26 18:46:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-26 18:46:22 +0300 |
commit | 5a4ab7c7d2da1773c5ed3dcfc6e367b5af03a33e (patch) | |
tree | b903974bde3801ca8181b97f1e3d6910272b5bca /tests/integration/rdb.tcl | |
parent | 66002530466a45bce85e4930364f1b153c44840b (diff) | |
download | redis-5a4ab7c7d2da1773c5ed3dcfc6e367b5af03a33e.tar.gz |
Fix stream sanitization for non-int first value (#9553)
This was recently broken in #9321 when we validated stream IDs to be
integers but did that after to the stepping next record instead of before.
Diffstat (limited to 'tests/integration/rdb.tcl')
-rw-r--r-- | tests/integration/rdb.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/rdb.tcl b/tests/integration/rdb.tcl index 938076456..9b5f12328 100644 --- a/tests/integration/rdb.tcl +++ b/tests/integration/rdb.tcl @@ -45,7 +45,7 @@ start_server [list overrides [list "dir" $server_path] keep_persistence true] { test {Test RDB stream encoding} { for {set j 0} {$j < 1000} {incr j} { if {rand() < 0.9} { - r xadd stream * foo $j + r xadd stream * foo abc } else { r xadd stream * bar $j } |