forked from temporalio/temporal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix local environment variable setup (temporalio#4868)
**What changed?** References to the local IP were fixed in our test environment setup code. I also tidied up env var initialization while I was there and logged the errors we receive from os.Setenv when it fails. **Why?** As part of temporalio#4766 we accidentally replaced uses of the hard-coded IPv4 localhost value with the environment variable we use to inject the local IP. This broke our ability to run tests against locally-running dependencies **How did you test it?** I ran our integration and functional tests against locally-running cassandra, mysql, and postgresql servers. **Potential risks** Presumably nothing; environment.SetupEnv() is only called by test code. **Is hotfix candidate?** No
- Loading branch information
1 parent
256aea8
commit d6e9154
Showing
1 changed file
with
53 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters