Rename offset and xsetid tags (#11103)

There's really no point in having dedicated flags to test these features
(why shouldn't all commands/features get their own tag?)
This commit is contained in:
guybe7
2022-08-14 17:25:01 +02:00
committed by GitHub
parent eef2d8303d
commit 1189680edd

View File

@@ -752,7 +752,7 @@ start_server {tags {"stream needs:debug"} overrides {appendonly yes stream-node-
}
}
start_server {tags {"stream xsetid"}} {
start_server {tags {"stream"}} {
test {XADD can CREATE an empty stream} {
r XADD mystream MAXLEN 0 * a b
assert {[dict get [r xinfo stream mystream] length] == 0}
@@ -811,7 +811,7 @@ start_server {tags {"stream xsetid"}} {
} {ERR *smaller*}
}
start_server {tags {"stream offset"}} {
start_server {tags {"stream"}} {
test {XADD advances the entries-added counter and sets the recorded-first-entry-id} {
r DEL x
r XADD x 1-0 data a