Environment Variables override explicit configuration in client tests #3975
Labels
bug
something isn't working as intended
low difficulty
the estimated level of effort to resolve this issue is low
low impact
affects only a small portion of a CDN, and cannot itself break one
tests
related to tests and/or testing infrastructure
TO Client (Go)
related to the Go implementation of a TC client
Traffic Ops
related to Traffic Ops
I'm submitting a ...
Traffic Control components affected ...
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:
The text was updated successfully, but these errors were encountered: