Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
CHUKWA-726. Reduce SocketAdaptor test case timer delay from 120 to 10…
… seconds. (Eric Yang)

git-svn-id: https://svn.apache.org/repos/asf/chukwa/trunk@1616998 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
macroadster committed Aug 9, 2014
1 parent 77f9740 commit c43e10c378a2487debdea5b0b9503f577a9dc1fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
@@ -74,6 +74,8 @@ Release 0.6 - Unreleased

BUGS

CHUKWA-726. Reduce SocketAdaptor test case timer delay from 120 to 10 seconds. (Eric Yang)

CHUKWA-725. Remove Solr config file from license scanning. (Eric Yang)

CHUKWA-716. Fixed undefined System Properties for test cases and test case dependency. (Eric Yang)
@@ -26,7 +26,7 @@
public class TestSocketAdaptor extends TestCase {
public void testBindRetry() {
int port = 9181;
int delay = 120000;
int delay = 10000;
ServerSocket sock1 = null;
ServerSocket sock2 = null;
SocketAdaptor adaptor = new SocketAdaptor();
@@ -42,7 +42,7 @@ public void testBindRetry() {
fail("IOException binding to " + port);
}
// now try binding to the same port through SocketAdaptor
// making sure we retry until the specified time of 120s
// making sure we retry until the specified time of 10s
long startTime = System.currentTimeMillis();
try {
sock2 = new ServerSocket();

0 comments on commit c43e10c

Please sign in to comment.