ocket8888 opened a new issue #3975: Environment Variables override explicit configuration in client tests URL: https://github.com/apache/trafficcontrol/issues/3975 ## I'm submitting a ... - bug report ## Traffic Control components affected ... - Traffic Control Client (Go) (integration tests with TO) ## Current behavior: If your `TO_URL` environment variable is set, it will override what's written in the tests' `trafficOps.URL` field in the configuration file. ## Expected / new behavior: Environmental factors should *never* override explicit configuration, makes it very difficult to tell why things aren't working. ## Minimal reproduction of the problem with instructions: ```bash TO_URL="https://google.com" # ensure trafficOps.URL in the config file is set to something # besides "https://google.com" go test -v --cfg=path/to/traffic-ops-test.conf # in the debug output you can see that it's attempting to connect # to TO_URL not trafficOps.URL ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
