Skip to content

Commit

Permalink
support cluster test for github action
Browse files Browse the repository at this point in the history
  • Loading branch information
sewenew committed Jan 6, 2024
1 parent 25d7406 commit aff76b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: redis-dep
run: |
wget -L https://github.com/redis/redis/archive/refs/tags/7.2.3.zip -O redis-7.2.3.zip && unzip redis-7.2.3.zip
cd redis-7.2.3 && make -j2 && ./src/redis-server &>/dev/null &
cd redis-7.2.3 && make -j2 && sh ./utils/create-cluster/create-cluster start && sh ./utils/create-cluster/create-cluster create -f && ./src/redis-server &>/dev/null &
- name: hiredis-dep
run: |
Expand Down Expand Up @@ -72,4 +72,4 @@ jobs:

- name: Test
working-directory: ${{ steps.strings.outputs.build-output-dir }}
run: ./test/test_redis++ -h 127.0.0.1 -p 6379
run: ./test/test_redis++ -h 127.0.0.1 -p 6379 -n 127.0.0.1 -c 30001

0 comments on commit aff76b9

Please sign in to comment.