You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by el...@apache.org on 2014/12/02 21:36:56 UTC

[08/50] [abbrv] accumulo git commit: ACCUMULO-3167 Don't sleep "forever". Will block table deletion (albeit unwantedly)

ACCUMULO-3167 Don't sleep "forever". Will block table deletion (albeit unwantedly)


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/3c5b2f49
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/3c5b2f49
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/3c5b2f49

Branch: refs/heads/metrics2
Commit: 3c5b2f49d5697a7b9d48a6d011ebef6477c4a9d8
Parents: b430f89
Author: Josh Elser <el...@apache.org>
Authored: Wed Nov 19 17:29:36 2014 -0500
Committer: Josh Elser <el...@apache.org>
Committed: Mon Nov 24 18:08:17 2014 -0500

----------------------------------------------------------------------
 .../java/org/apache/accumulo/test/InterruptibleScannersIT.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/3c5b2f49/test/src/test/java/org/apache/accumulo/test/InterruptibleScannersIT.java
----------------------------------------------------------------------
diff --git a/test/src/test/java/org/apache/accumulo/test/InterruptibleScannersIT.java b/test/src/test/java/org/apache/accumulo/test/InterruptibleScannersIT.java
index a1409e8..4c8bcba 100644
--- a/test/src/test/java/org/apache/accumulo/test/InterruptibleScannersIT.java
+++ b/test/src/test/java/org/apache/accumulo/test/InterruptibleScannersIT.java
@@ -56,7 +56,8 @@ public class InterruptibleScannersIT extends AccumuloClusterIT {
     // make the world's slowest scanner
     final Scanner scanner = conn.createScanner(tableName, Authorizations.EMPTY);
     final IteratorSetting cfg = new IteratorSetting(100, SlowIterator.class);
-    SlowIterator.setSeekSleepTime(cfg, 99999*1000);
+    // Wait long enough to be sure we can catch it, but not indefinitely.
+    SlowIterator.setSeekSleepTime(cfg, 60 * 1000);
     scanner.addScanIterator(cfg);
     // create a thread to interrupt the slow scan
     final Thread scanThread = Thread.currentThread();