mirror of
https://github.com/valkey-io/valkey.git
synced 2026-05-06 05:26:42 -04:00
Use correct arguments in LOLWUT test (#2708)
Seeing test failures due to this on the 9.0.0 branch: ``` [exception]: Executing test client: ERR Syntax error. Use: LOLWUT [columns rows] [real imaginary]. ERR Syntax error. Use: LOLWUT [columns rows] [real imaginary] ``` It turns out we are just providing the version as an argument, instead of specifying which version to run on Signed-off-by: Jacob Murphy <jkmurphy@google.com>
This commit is contained in:
@@ -385,9 +385,11 @@ start_server {tags {"other"}} {
|
||||
set info [r info server]
|
||||
assert_match "*redis_mode:*" $info
|
||||
assert_no_match "*server_mode:*" $info
|
||||
set lolwut_output [r lolwut 5]
|
||||
set lolwut_output [r lolwut version 5]
|
||||
assert_match {*Redis ver.*} $lolwut_output
|
||||
set lolwut_output [r lolwut 6]
|
||||
set lolwut_output [r lolwut version 6]
|
||||
assert_match {*Redis ver.*} $lolwut_output
|
||||
set lolwut_output [r lolwut version 9]
|
||||
assert_match {*Redis ver.*} $lolwut_output
|
||||
set lolwut_output [r lolwut]
|
||||
assert_match {*Redis ver.*} $lolwut_output
|
||||
@@ -400,9 +402,11 @@ start_server {tags {"other"}} {
|
||||
assert_match "*server_mode:*" $info
|
||||
set lolwut_output [r lolwut]
|
||||
assert_match {*Valkey ver.*} $lolwut_output
|
||||
set lolwut_output [r lolwut 5]
|
||||
set lolwut_output [r lolwut version 5]
|
||||
assert_match {*Valkey ver.*} $lolwut_output
|
||||
set lolwut_output [r lolwut 6]
|
||||
set lolwut_output [r lolwut version 6]
|
||||
assert_match {*Valkey ver.*} $lolwut_output
|
||||
set lolwut_output [r lolwut version 9]
|
||||
assert_match {*Valkey ver.*} $lolwut_output
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user