Skip to content

Commit 8ed61e0

Browse files
authored
Update assert_redis_v8 to accept both Redis v=8 and v=255
1 parent 47386b7 commit 8ed61e0

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

test/run-entrypoint-tests.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,14 @@ assert_redis_output_has_no_config_perm_error() {
354354
}
355355

356356
assert_redis_v8() {
357-
assertContains "$1" "Redis server v=8"
357+
# Accept both v=8 (normal) and v=255 (dev)
358+
if echo "$1" | grep -q "Redis server v=8"; then
359+
return 0
360+
elif echo "$1" | grep -q "Redis server v=255"; then
361+
return 0
362+
else
363+
assertContains "$1" "Redis server v=8/v255"
364+
fi
358365
}
359366

360367
# Tests #

0 commit comments

Comments
 (0)