Skip to content

Commit

Permalink
Speed up the graceful shutdown test slightly.
Browse files Browse the repository at this point in the history
This one has been spuriously failing me for a while.  I'd like it to
consistently run, but I'll settle for 3x more likely for now.
  • Loading branch information
dustin committed May 3, 2008
1 parent 8f6b171 commit 33bcb1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/net/spy/memcached/ProtocolBaseCase.java
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ public void testGracefulShutdownTooSlow() throws Exception {
client.set("t" + i, 10, i);
}
assertFalse("Weird, shut down too fast",
client.shutdown(3, TimeUnit.MILLISECONDS));
client.shutdown(1, TimeUnit.MILLISECONDS));

try {
Map<SocketAddress, String> m = client.getVersions();
Expand Down

0 comments on commit 33bcb1c

Please sign in to comment.