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:
Jacob Murphy
2025-10-07 15:42:56 -07:00
committed by GitHub
parent a4317e9115
commit b3da88e94d
+8 -4
View File
@@ -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
}
}