Skip to content

Commit

Permalink
ZOOKEEPER-2182 Several test suites are not running during pre-commit,…
Browse files Browse the repository at this point in the history
… because their names do not end with "Test". (Chris Nauroth via hdeng)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/trunk@1678645 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Hongchao Deng committed May 10, 2015
1 parent bd2a1bc commit 16c91ab
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ BUGFIXES:

ZOOKEEPER-2062 RemoveWatchesTest takes forever to run (Chris Nauroth via rakeshr)

ZOOKEEPER-2182 Several test suites are not running during pre-commit, because their names do not end with "Test". (Chris Nauroth via hdeng)

IMPROVEMENTS:
ZOOKEEPER-1660 Documentation for Dynamic Reconfiguration (Reed Wanderman-Milne via shralex)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
import org.junit.Assert;
import org.junit.Test;

public class ReconfigFailureCases extends QuorumPeerTestBase {
public class ReconfigFailureCasesTest extends QuorumPeerTestBase {

private QuorumUtil qu;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import org.junit.Assert;
import org.junit.Test;

public class ClientRetry extends ClientBase {
public class ClientRetryTest extends ClientBase {

@Override
public void setUp() throws Exception {
Expand Down Expand Up @@ -58,6 +58,7 @@ public void testClientRetry() throws IOException, InterruptedException, TimeoutE
Assert.assertSame(s1,States.CONNECTED);
Assert.assertSame(s2,States.CONNECTING);
cdw1.reset();
zk.close();
cdw1.waitForDisconnected(CONNECTION_TIMEOUT);
cdw2.waitForConnected(CONNECTION_TIMEOUT);
Assert.assertSame(zk2.getState(),States.CONNECTED);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@

import junit.framework.TestCase;

public class WatchEventWhenAutoReset extends TestCase {
public class WatchEventWhenAutoResetTest extends TestCase {
protected static final Logger LOG = LoggerFactory
.getLogger(WatchEventWhenAutoReset.class);
.getLogger(WatchEventWhenAutoResetTest.class);

// waiting time for expected condition
private static final int TIMEOUT = 30000;
Expand Down

0 comments on commit 16c91ab

Please sign in to comment.