Prevent secret path race condition when polling Geo API in tests
The newUpstream method starts the goroutine that polls the Geo API, which expects the secret to be configured, thus the ConfigureSecret method should be called before this, instead of the NewServer method.
Showing
Please register or sign in to comment