Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #69 from spotify/philipcristiano/fix-timeouts
Browse files Browse the repository at this point in the history
Work around deadlocks in test
  • Loading branch information
philipcristiano committed Jul 16, 2014
2 parents 30ee255 + a6ec641 commit 34f8355
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public ZooKeeperHealthChecker(final ZooKeeperClient zooKeeperClient, final Strin
final RiemannFacade facade, final TimeUnit timeUnit,
final long interval) {
super("zookeeper");
this.scheduler = Executors.newScheduledThreadPool(1);
this.scheduler = Executors.newScheduledThreadPool(2);
this.cache = new PathChildrenCache(zooKeeperClient.getCuratorFramework(), path, true, false,
scheduler);
this.facade = facade.stack("zookeeper-connection");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class SentryTest {

@Rule public TemporaryPorts temporaryPorts = TemporaryPorts.create();

private static final int UDP_SERVER_TIMEOUT = 5000;
private static final int UDP_SERVER_TIMEOUT = 60000;

private int sentryPort;
private String testDsn;
Expand Down

0 comments on commit 34f8355

Please sign in to comment.