Hide Nomad specific environment variables
from the user environment.
This commit is contained in:

committed by
Sebastian Serth

parent
697e7723e4
commit
4c25473c9e
@@ -168,6 +168,7 @@ func (s *E2ETestSuite) expectEnvironmentVariables(stdout string) []string {
|
||||
s.Contains(variables, "CODEOCEAN=true")
|
||||
for _, envVar := range variables {
|
||||
s.False(strings.HasPrefix(envVar, "AWS"))
|
||||
s.False(strings.HasPrefix(envVar, "NOMAD_"))
|
||||
}
|
||||
return variables
|
||||
}
|
||||
|
Reference in New Issue
Block a user