Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements_docker.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jinja2
addict
toml
ramp-packer==2.5.13
RLTest ~= 0.7.2
RLTest ~= 0.7.29
redis ~= 5.0.8
six >= 1.10.0
gevent >= 22.10.2
2 changes: 1 addition & 1 deletion tests/pytest/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
RLTest ~= 0.7.2
RLTest ~= 0.7.29
redis ~= 5.0.8
six >= 1.10.0
gevent >= 22.10.2
12 changes: 10 additions & 2 deletions tests/pytest/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ setup_coverage() {

run_env() {
if [[ $COORD == oss ]]; then
oss_cluster_args="--env oss-cluster --shards-count $SHARDS"
oss_cluster_args="--env oss-cluster --shards-count $SHARDS $CLUSTER_BUS_ARGS"
RLTEST_ARGS+=" ${oss_cluster_args}"
fi

Expand Down Expand Up @@ -665,6 +665,14 @@ fi

# install_git_lfs

# cluster-bus-port-protected-mode is rejected by a redis that does not have it,
# and a rejected directive stops the server from starting. It exists in redis 8.12
# and up, where it also defaults to enabled and so refuses an unauthenticated
# cluster bus, and in the 8.2.10/8.4.7/8.6.7/8.8.3/8.10.2 backports, where it
# defaults to disabled. Set CLUSTER_BUS_PROTECTED_MODE= to omit it for an older redis.
CLUSTER_BUS_ARGS="--cluster_bus_port_protected_mode ${CLUSTER_BUS_PROTECTED_MODE-no}"
[[ -z ${CLUSTER_BUS_PROTECTED_MODE-no} ]] && CLUSTER_BUS_ARGS=""

#------------------------------------------------------------------------------------- Env only

if [[ $ENV_ONLY == 1 ]]; then
Expand Down Expand Up @@ -694,7 +702,7 @@ if [[ $AOF == 1 ]]; then
{ (RLTEST_ARGS="${RLTEST_ARGS} --use-aof" run_tests "--use-aof"); (( E |= $? )); } || true
fi
if [[ $CLUSTER == 1 ]]; then
{ (RLTEST_ARGS="${RLTEST_ARGS} --env oss-cluster --shards-count 1" run_tests "--env oss-cluster"); (( E |= $? )); } || true
{ (RLTEST_ARGS="${RLTEST_ARGS} --env oss-cluster --shards-count 1 $CLUSTER_BUS_ARGS" run_tests "--env oss-cluster"); (( E |= $? )); } || true
Comment thread
LiranAbir marked this conversation as resolved.
Resolved
fi

#-------------------------------------------------------------------------------------- Summary
Expand Down
Loading