You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by al...@apache.org on 2015/05/20 14:31:07 UTC
cassandra git commit: Add a more verbose assert to
SQFWTT.testBeyondThresholdSelect()
Repository: cassandra
Updated Branches:
refs/heads/trunk 16736314b -> 66772b7ab
Add a more verbose assert to SQFWTT.testBeyondThresholdSelect()
patch by Ariel Weisberg; reveiwed by Aleksey Yeschenko for
CASSANDRA-9432
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/66772b7a
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/66772b7a
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/66772b7a
Branch: refs/heads/trunk
Commit: 66772b7ab5396f373a77c8f9a02e14aad5669065
Parents: 1673631
Author: Ariel Weisberg <ar...@weisberg.ws>
Authored: Tue May 19 17:16:10 2015 -0400
Committer: Aleksey Yeschenko <al...@apache.org>
Committed: Wed May 20 15:29:08 2015 +0300
----------------------------------------------------------------------
.../cassandra/cql3/SliceQueryFilterWithTombstonesTest.java | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/66772b7a/test/unit/org/apache/cassandra/cql3/SliceQueryFilterWithTombstonesTest.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/cql3/SliceQueryFilterWithTombstonesTest.java b/test/unit/org/apache/cassandra/cql3/SliceQueryFilterWithTombstonesTest.java
index 0cb9819..a3f7197 100644
--- a/test/unit/org/apache/cassandra/cql3/SliceQueryFilterWithTombstonesTest.java
+++ b/test/unit/org/apache/cassandra/cql3/SliceQueryFilterWithTombstonesTest.java
@@ -19,10 +19,11 @@ package org.apache.cassandra.cql3;
import java.util.concurrent.TimeUnit;
+import com.google.common.base.Throwables;
+
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
-
import org.apache.cassandra.config.DatabaseDescriptor;
import org.apache.cassandra.db.filter.TombstoneOverwhelmingException;
@@ -84,7 +85,10 @@ public class SliceQueryFilterWithTombstonesTest extends CQLTester
}
catch (Throwable e)
{
- assertTrue(e instanceof TombstoneOverwhelmingException);
+ String error = "Expected exception instanceof TombstoneOverwhelmingException instead got "
+ + System.lineSeparator()
+ + Throwables.getStackTraceAsString(e);
+ assertTrue(error, e instanceof TombstoneOverwhelmingException);
}
}