Skip to content

Commit ef56b43

Browse files
committed
Fixed the pipeline failure
1 parent 1363c07 commit ef56b43

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,12 @@ jobs:
494494
export VTEST_OAUTH_ACCESS_TOKEN=$(cat ${GITHUB_WORKSPACE}/access_token.txt 2>/dev/null || echo "")
495495
cd packages/vertica-nodejs
496496
497+
# Unset V_TLS_MODE so tests see the driver default ('prefer').
498+
# V_TLS_MODE=disable is set globally for DB connectivity probes, but
499+
# unit tests (configuration-tests.js) and integration tests (tls-tests.js)
500+
# assert the default tls_mode value.
501+
unset V_TLS_MODE
502+
497503
# Run each target individually so one crash doesn't hide others
498504
FAIL=0
499505
echo "=== test-mocha-unit ==="
@@ -503,9 +509,7 @@ jobs:
503509
echo "=== test-unit ==="
504510
make test-unit || { echo "FAILED: test-unit (exit $?)"; FAIL=1; }
505511
echo "=== test-integration ==="
506-
unset V_TLS_MODE # let tls-tests.js use the driver default ('prefer')
507512
make test-integration || { echo "FAILED: test-integration (exit $?)"; FAIL=1; }
508-
export V_TLS_MODE=disable # restore for any subsequent commands
509513
510514
kill $PF_V $PF_K 2>/dev/null || true
511515
if [ "$FAIL" -ne 0 ]; then

0 commit comments

Comments
 (0)