Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[jk] Update test ENV value (mage-ai#5372)
# Description - Using `test` as the value for the `ENV` environment variable for running unit tests could cause the test db to conflict with the metadata db used by users in their own test environments. This PR updates the value used for `ENV` in the environment for running mage's unit tests. - Should resolve this github issue: mage-ai#5360 # How Has This Been Tested? Before: Using `test` for the `ENV` env var resulted in using the `test.db` file as the metadata db, even if postgres was set as the metadata db using the `MAGE_DATABASE_CONNECTION_URL` env var. After: Using `test` for the `ENV` env var did not result in using the `test.db` file as the metadata db. If postgres was set as the metadata db using the `MAGE_DATABASE_CONNECTION_URL` env var, postgres would be properly used as the metadata db. Confirmed by creating new users and verifying they were stored in the postgres db. # Checklist - [X] The PR is tagged with proper labels (bug, enhancement, feature, documentation) - [X] I have performed a self-review of my own code - [ ] I have added unit tests that prove my fix is effective or that my feature works - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation cc: <!-- Optionally mention someone to let them know about this pull request -->
- Loading branch information