Repository: cassandra Updated Branches: refs/heads/cassandra-2.1 eea042b0b -> a6678a273 refs/heads/trunk 14b1c9607 -> 58985409c
ninja fix rethrow InterruptedException in cassandra-stress Timing.snap Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/a6678a27 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/a6678a27 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/a6678a27 Branch: refs/heads/cassandra-2.1 Commit: a6678a273d61b4db54e0b7afeeab8b1b0f7d82a1 Parents: eea042b Author: Benedict Elliott Smith <bened...@apache.org> Authored: Sun Sep 14 13:50:38 2014 +0100 Committer: Benedict Elliott Smith <bened...@apache.org> Committed: Sun Sep 14 13:50:38 2014 +0100 ---------------------------------------------------------------------- tools/stress/src/org/apache/cassandra/stress/util/Timing.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/a6678a27/tools/stress/src/org/apache/cassandra/stress/util/Timing.java ---------------------------------------------------------------------- diff --git a/tools/stress/src/org/apache/cassandra/stress/util/Timing.java b/tools/stress/src/org/apache/cassandra/stress/util/Timing.java index f64a40b..9a5fa56 100644 --- a/tools/stress/src/org/apache/cassandra/stress/util/Timing.java +++ b/tools/stress/src/org/apache/cassandra/stress/util/Timing.java @@ -73,6 +73,8 @@ public class Timing } catch (Exception e) { + if (e instanceof InterruptedException) + throw (InterruptedException) e; throw new RuntimeException(e); }