CG: More specific duplicated group error.

This commit is contained in:
antirez
2018-02-16 11:55:51 +01:00
parent 9f60a6bcee
commit c9d86c2b16
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,11 @@
start_server {
tags {"stream"}
} {
test {XGROUP CREATE: creation and duplicate group name detection} {
r DEL mystream
r XADD mystream * foo bar
r XGROUP CREATE mystream mygroup $
catch {r XGROUP CREATE mystream mygroup $} err
set err
} {BUSYGROUP*}
}