Github user hanm commented on a diff in the pull request:
https://github.com/apache/zookeeper/pull/315#discussion_r129150747
--- Diff: src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java
---
@@ -1451,7 +1452,12 @@ public synchronized void
restartLeaderElection(QuorumVerifier qvOLD, QuorumVerif
}
public String getNextDynamicConfigFilename() {
- return configFilename +
QuorumPeerConfig.nextDynamicConfigFileSuffix;
+ if (configFilename != null) {
--- End diff --
Thanks for review, Alex. I'll look into making configFileName not null for
this test, which is more deterministic than a random id generator.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---