zentol commented on a change in pull request #15279:
URL: https://github.com/apache/flink/pull/15279#discussion_r597499858
##########
File path:
flink-runtime/src/test/java/org/apache/flink/runtime/resourcemanager/active/ActiveResourceManagerFactoryTest.java
##########
@@ -47,19 +46,19 @@
private static final MemorySize TOTAL_FLINK_SIZE =
MemorySize.ofMebiBytes(2 * 1024);
private static final MemorySize TOTAL_PROCESS_SIZE =
MemorySize.ofMebiBytes(3 * 1024);
- private static Map<String, String> systemEnv;
+ private static Properties systemProperties;
@BeforeClass
public static void setupClass() {
- systemEnv = System.getenv();
+ systemProperties = System.getProperties();
System.clearProperty("flink.tests.disable-declarative");
System.clearProperty("flink.tests.enable-fine-grained");
Review comment:
Why do we have to clear these? Could we not just disable them in the
configuration?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]