Skip to content

Commit

Permalink
CURATOR-594: TestingZooKeeperMain isn't setting tickTime, if configured
Browse files Browse the repository at this point in the history
  • Loading branch information
franz1981 committed Apr 20, 2021
1 parent 15a9f03 commit 6892faa
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -271,6 +271,8 @@ public TestZooKeeperServer(FileTxnSnapLog txnLog, ServerConfig config)
{
this.txnLog = txnLog;
this.setTxnLogFactory(txnLog);
// tickTime would affect min and max session timeout: should be set first
this.setTickTime(config.getTickTime());
this.setMinSessionTimeout(config.getMinSessionTimeout());
this.setMaxSessionTimeout(config.getMaxSessionTimeout());
}
Expand Down

0 comments on commit 6892faa

Please sign in to comment.