MCPcopy Create free account
hub / github.com/apache/mesos / foreachkey

Function foreachkey

src/tests/environment.cpp:1144–1148  ·  view source on GitHub ↗

Clear any MESOS_ environment variables so they don't affect our tests.

Source from the content-addressed store, hash-verified

1142{
1143 // Clear any MESOS_ environment variables so they don't affect our tests.
1144 foreachkey (const string& key, os::environment()) {
1145 if (key.find("MESOS_") == 0) {
1146 os::unsetenv(key);
1147 }
1148 }
1149
1150 // Set the path to the native JNI library for running JVM tests.
1151 // TODO(tillt): Adapt library towards JNI specific name once libmesos

Callers

nothing calls this directly

Calls 2

unsetenvFunction · 0.50
findMethod · 0.45

Tested by

no test coverage detected