Skip to content

Commit

Permalink
Disable kvrocks2redis_ci for tsan/asan and macos
Browse files Browse the repository at this point in the history
  • Loading branch information
Zakelly committed Mar 23, 2024
1 parent cbc4f18 commit 47ec299
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions .github/workflows/kvrocks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,9 @@ jobs:
run: pip3 install redis==4.3.6

- name: Run kvrocks2redis Test
if: ${{ !startsWith(matrix.os, 'macos') }}
# Currently, when enabling Tsan/Asan or runing in macos 11/14, the value mismatch in destination redis server.
# See https://github.com/apache/kvrocks/issues/2195
if: ${{ !contains(matrix.name, 'Tsan') && !contains(matrix.name, 'Asan') && !startsWith(matrix.os, 'macos') }}
run: |
ulimit -c unlimited
export LSAN_OPTIONS="suppressions=$(realpath ./tests/lsan-suppressions)"
Expand All @@ -330,24 +332,6 @@ jobs:
ps aux
python3 utils/kvrocks2redis/tests/check_consistency.py --src_password=""
- name: Run kvrocks2redis Test (macOS)
if: ${{ startsWith(matrix.os, 'macos') }}
run: |
ulimit -c unlimited
brew services start redis@6.2
mkdir -p data
./build/kvrocks --dir `pwd`/data --pidfile `pwd`/kvrocks.pid --daemonize yes
sleep 15
echo -en "data-dir `pwd`/data\ndaemonize yes\noutput-dir ./\nnamespace.__namespace 127.0.0.1 6379\n" >> ./kvrocks2redis-ci.conf
cat ./kvrocks2redis-ci.conf
./build/kvrocks2redis -c ./kvrocks2redis-ci.conf
sleep 15
python3 utils/kvrocks2redis/tests/populate-kvrocks.py --password="" --flushdb=true
sleep 15
ps aux
python3 utils/kvrocks2redis/tests/check_consistency.py --src_password=""
- name: Find reports and crashes
if: always()
run: |
Expand Down

0 comments on commit 47ec299

Please sign in to comment.