Unverified Commit 1189680e authored by guybe7's avatar guybe7 Committed by GitHub
Browse files

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?)
parent eef2d830
...@@ -752,7 +752,7 @@ start_server {tags {"stream needs:debug"} overrides {appendonly yes stream-node- ...@@ -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} { test {XADD can CREATE an empty stream} {
r XADD mystream MAXLEN 0 * a b r XADD mystream MAXLEN 0 * a b
assert {[dict get [r xinfo stream mystream] length] == 0} assert {[dict get [r xinfo stream mystream] length] == 0}
...@@ -811,7 +811,7 @@ start_server {tags {"stream xsetid"}} { ...@@ -811,7 +811,7 @@ start_server {tags {"stream xsetid"}} {
} {ERR *smaller*} } {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} { test {XADD advances the entries-added counter and sets the recorded-first-entry-id} {
r DEL x r DEL x
r XADD x 1-0 data a r XADD x 1-0 data a
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment