Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
avsej committed Oct 2, 2024
1 parent 2e3f0ed commit 4e8de03
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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"
Expand Down
5 changes: 5 additions & 0 deletions bin/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 4e8de03

Please sign in to comment.