Clear environment variables when invoking go test
What does this MR do?
Clears environment variables before invoking go test
so that they don't influence tests.
Why was this MR needed?
Tests should be somewhat deterministic and not have outside influence.
What's the best way to test this MR?
Tests should run and pass as usual.
What are the relevant issue numbers?
Closes #27965 (closed)