Skip to content

Clear environment variables when invoking go test

Arran Walker requested to merge 27965-clear-go-test-environment-variables into master

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)

Merge request reports