Fix flaky kubeexec
unit test case with env vars
#5845
Merged
kubeexec
unit test case with env vars
#5845