diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4c5a6c03..8bceae30 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -316,8 +316,8 @@ jobs: - nts - zts server: - - 7.6.0 - - 7.2.4 + - 7.6.3 + - 7.2.6 - 7.1.6 - 7.0.5 steps: @@ -358,7 +358,7 @@ jobs: run: | CLUSTER_ID=$(cbdinocluster -v allocate --def="${CLUSTERCONFIG}") CONNECTION_STRING=$(cbdinocluster -v connstr "${CLUSTER_ID}") - cbdinocluster -v buckets add ${CLUSTER_ID} default --ram-quota-mb=100 --flush-enabled=true + cbdinocluster -v buckets add ${CLUSTER_ID} default --ram-quota-mb=100 --flush-enabled=true --num-replicas=2 cbdinocluster -v buckets load-sample ${CLUSTER_ID} travel-sample echo "CLUSTER_ID=${CLUSTER_ID}" >> "$GITHUB_ENV" echo "TEST_CONNECTION_STRING=${CONNECTION_STRING}?dump_configuration=true" >> "$GITHUB_ENV" diff --git a/bin/test.rb b/bin/test.rb index 3a382e35..bcfd382e 100755 --- a/bin/test.rb +++ b/bin/test.rb @@ -68,6 +68,11 @@ def capture(*args) output end +if ENV["CB_VALGRIND"] + ENV["USE_ZEND_ALLOC"] = 0 + ENV["ZEND_DONT_UNLOAD_MODULES"] = 1 +end + project_root = File.expand_path(File.join(__dir__, "..")) build_root = File.join(project_root, "build")