pkuwm commented on a change in pull request #1487:
URL: https://github.com/apache/helix/pull/1487#discussion_r521119745
##########
File path:
helix-core/src/test/java/org/apache/helix/integration/manager/TestParticipantManager.java
##########
@@ -66,6 +66,9 @@
public class TestParticipantManager extends ZkTestBase {
private MBeanServer _server = ManagementFactory.getPlatformMBeanServer();
private String clusterName = TestHelper.getTestClassName();
+ static {
+
System.setProperty(SystemPropertyKeys.STATEUPDATEUTIL_ERROR_PERSISTENCY_ENABLED,
"true");
Review comment:
The system property is JVM level. If we don't unset the config, later
tests will be using this config. Maybe there are no tests using the config yet.
But I suggest, as a good practice, we also unset the config to make unit tests
isolated, ensuring other tests won't be impacted by this test's configs.
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]