Skip to content
Permalink
Browse files
CURATOR-588 Upgrade ZooKeeper to 3.6.3 (#386)
Co-authored-by: Enrico Olivelli <eolivelli@apache.org>
  • Loading branch information
eolivelli and eolivelli committed Jul 6, 2021
1 parent a574966 commit e42a07a0203038d601957d7e24895fece8cd96dc
Showing 3 changed files with 10 additions and 4 deletions.
@@ -670,9 +670,13 @@ public void testFailure() throws Exception
client.checkExists().forPath("/hey");
fail();
}
catch ( KeeperException.SessionExpiredException e )
{
// correct, this happens on ZK 3.6.3+
}
catch ( KeeperException.ConnectionLossException e )
{
// correct
// correct, this happens on ZK 3.5.x, 3.6.0 -> 3.6.2
}
finally
{
@@ -60,7 +60,7 @@ public QuorumPeer getTestingQuorumPeer()
}

@Override
public void close() throws IOException
public void close()
{
if ( (quorumPeer != null) && !isClosed )
{
@@ -66,8 +66,10 @@
<short-jdk-version>8</short-jdk-version>
<jdk-version>1.${short-jdk-version}</jdk-version>

<redirectTestOutputToFile>true</redirectTestOutputToFile>

<!-- versions -->
<zookeeper-version>3.6.0</zookeeper-version>
<zookeeper-version>3.6.3</zookeeper-version>
<maven-bundle-plugin-version>5.1.1</maven-bundle-plugin-version>
<maven-javadoc-plugin-version>3.0.1</maven-javadoc-plugin-version>
<doxia-module-confluence-version>1.8</doxia-module-confluence-version>
@@ -772,7 +774,7 @@
<configuration>
<threadCount>1</threadCount>
<reuseForks>false</reuseForks>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<redirectTestOutputToFile>${redirectTestOutputToFile}</redirectTestOutputToFile>
<rerunFailingTestsCount>2</rerunFailingTestsCount>
</configuration>
</plugin>

0 comments on commit e42a07a

Please sign in to comment.