Skip to content

Commit

Permalink
ci(end-to-end): fix redis and memcached tests [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
julienloizelet committed Dec 16, 2022
1 parent cc6a8ee commit ed00473
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ jobs:
- name: Run "stream mode with TLS auth and cURL and Redis" test
run: |
cd ${{ github.workspace }}/${{env.EXTENSION_PATH}}
sed -i 's/\x27cache_system\x27 => \x27Constants::CACHE_SYSTEM_PHPFS\x27/\x27cache_system\x27 => \x27Constants::CACHE_SYSTEM_REDIS\x27/g' scripts/auto-prepend/settings.php
sed -i 's/\x27cache_system\x27 => Constants::CACHE_SYSTEM_PHPFS/\x27cache_system\x27 => Constants::CACHE_SYSTEM_REDIS/g' scripts/auto-prepend/settings.php
cat scripts/auto-prepend/settings.php
cd ${{ github.workspace }}/${{env.EXTENSION_PATH}}/tests/end-to-end/
./__scripts__/run-tests.sh ci "./__tests__/3-stream-mode.js"
Expand All @@ -337,7 +337,7 @@ jobs:
- name: Run "stream mode with TLS auth and cURL and Memcached" test
run: |
cd ${{ github.workspace }}/${{env.EXTENSION_PATH}}
sed -i 's/\x27cache_system\x27 => \x27Constants::CACHE_SYSTEM_REDIS\x27/\x27cache_system\x27 => \x27Constants::CACHE_SYSTEM_MEMCACHED\x27/g' scripts/auto-prepend/settings.php
sed -i 's/\x27cache_system\x27 => Constants::CACHE_SYSTEM_REDIS/\x27cache_system\x27 => Constants::CACHE_SYSTEM_MEMCACHED/g' scripts/auto-prepend/settings.php
cat scripts/auto-prepend/settings.php
cd ${{ github.workspace }}/${{env.EXTENSION_PATH}}/tests/end-to-end/
./__scripts__/run-tests.sh ci "./__tests__/3-stream-mode.js"
Expand Down

0 comments on commit ed00473

Please sign in to comment.