Skip to content

Commit 32e4a0b

Browse files
committed
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 <[email protected]>
1 parent b90ac09 commit 32e4a0b

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

tests/unit/other.tcl

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -385,9 +385,11 @@ start_server {tags {"other"}} {
385385
set info [r info server]
386386
assert_match "*redis_mode:*" $info
387387
assert_no_match "*server_mode:*" $info
388-
set lolwut_output [r lolwut 5]
388+
set lolwut_output [r lolwut version 5]
389389
assert_match {*Redis ver.*} $lolwut_output
390-
set lolwut_output [r lolwut 6]
390+
set lolwut_output [r lolwut version 6]
391+
assert_match {*Redis ver.*} $lolwut_output
392+
set lolwut_output [r lolwut version 9]
391393
assert_match {*Redis ver.*} $lolwut_output
392394
set lolwut_output [r lolwut]
393395
assert_match {*Redis ver.*} $lolwut_output
@@ -400,9 +402,11 @@ start_server {tags {"other"}} {
400402
assert_match "*server_mode:*" $info
401403
set lolwut_output [r lolwut]
402404
assert_match {*Valkey ver.*} $lolwut_output
403-
set lolwut_output [r lolwut 5]
405+
set lolwut_output [r lolwut version 5]
406+
assert_match {*Valkey ver.*} $lolwut_output
407+
set lolwut_output [r lolwut version 6]
404408
assert_match {*Valkey ver.*} $lolwut_output
405-
set lolwut_output [r lolwut 6]
409+
set lolwut_output [r lolwut version 9]
406410
assert_match {*Valkey ver.*} $lolwut_output
407411
}
408412
}

0 commit comments

Comments
 (0)