Skip to content

Commit

Permalink
fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
sewenew committed Jan 6, 2024
1 parent aff76b9 commit c68e510
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 && sh ./utils/create-cluster/create-cluster start && sh ./utils/create-cluster/create-cluster create -f && ./src/redis-server &>/dev/null &
cd redis-7.2.3 && make -j2 && ./src/redis-server --port 7000 --cluster-enabled yes --cluster-config-file nodes-7000.conf --daemonize yes && ./src/redis-server --port 7001 --cluster-enabled yes --cluster-config-file nodes-7001.conf --daemonize yes && ./src/redis-server --port 7002 --cluster-enabled yes --cluster-config-file nodes-7002.conf --daemonize yes && ./src/redis-cli --cluster-yes --cluster create 127.0.0.1:7000 127.0.0.1:7001 127.0.0.1:7002 && ./src/redis-server --daemonize yes
- 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 -n 127.0.0.1 -c 30001
run: ./test/test_redis++ -h 127.0.0.1 -p 6379 -n 127.0.0.1 -c 7000

0 comments on commit c68e510

Please sign in to comment.