Skip to content

Commit

Permalink
fix: use 127.0.0.1 instead of localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
eiri committed Jun 19, 2024
1 parent 6a91996 commit 3bc4867
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ def runTest(version, filter=null, testSuite='test') {
set +x
export COUCH_LEGACY_URL="https://\${DB_USER}:\$(node -e "console.log(encodeURIComponent(process.env.DB_PASSWORD));")@\${SDKS_TEST_SERVER_HOST}"
export COUCH_BACKEND_URL="${(testSuite == 'test-iam') ? '${SDKS_TEST_SERVER_URL}' : '${COUCH_LEGACY_URL}'}"
export COUCH_URL="${(testSuite == 'test-network/conditions') ? '${COUCH_BACKEND_URL%@*}@localhost:8888' : '${COUCH_BACKEND_URL}'}"
export PROXY_URL='http://localhost:8474'
export COUCH_URL="${(testSuite == 'test-network/conditions') ? '${COUCH_BACKEND_URL%@*}@127.0.0.1:8888' : '${COUCH_BACKEND_URL}'}"
export PROXY_URL='http://127.0.0.1:8474'
set -x
./node_modules/mocha/bin/mocha.js --reporter mocha-jenkins-reporter --reporter-options junit_report_path=${testReportPath},junit_report_stack=true,junit_report_name=${testSuite} ${filter} ${testRun}
"""
Expand Down

0 comments on commit 3bc4867

Please sign in to comment.