CartoDB / analytics-toolbox-core

A set of UDFs and Procedures to extend BigQuery, Snowflake, Redshift, Postgres and Databricks with Spatial Analytics capabilities
Other
190 stars 43 forks source link

Fix DB Connection Error in tests when % character in PG_PASSWORD #509

Closed DeanSherwin closed 6 months ago

DeanSherwin commented 6 months ago

Description

Shortcut

Please include a summary of the change. If required, also include relevant info about motivation and context... And if PR includes UI elements (or if it helps for understanding it), please add extra files: snapshots, videos...

Type of change

Acceptance

To recreate issue:

  1. Set PG_USER's password to include % character
  2. From the analytics-toolbox project, run cd clouds/postgres && make test
  3. It will fail due to a bad password in the connection_string in submodule `core/clouds/postgres/common/test_utils/init.py
  4. Checkout this branch in core and rerun. The tests should run fine