File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ matrix:
2727 # Run tests/paths that require password authentication
2828 - node_js : lts/erbium
2929 env :
30- - CC=clang CXX=clang++ npm_config_clang=1 PGUSER=postgres PGDATABASE=postgres PGPASSWORD=test-password
30+ - CC=clang CXX=clang++ npm_config_clang=1 PGUSER=postgres PGDATABASE=postgres PGPASSWORD=test-password SCRAM_TEST_PGUSER=scram_test SCRAM_TEST_PGPASSWORD=test4scram
3131 before_script : |
3232 sudo -u postgres sed -i \
3333 -e '/^local/ s/trust$/peer/' \
@@ -36,6 +36,9 @@ matrix:
3636 sudo -u postgres psql -c "ALTER ROLE postgres PASSWORD 'test-password'; SELECT pg_reload_conf()"
3737 yarn build
3838 node packages/pg/script/create-test-tables.js postgresql:///
39+ sudo -u postgres -- psql \
40+ -c "SET password_encryption = 'scram-sha-256'" \
41+ -c "CREATE ROLE scram_test login password 'test4scram'"
3942
4043 - node_js : lts/carbon
4144 addons :
You can’t perform that action at this time.
0 commit comments