cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject [6/6] git commit: Remove obsolete test
Date Mon, 03 Dec 2012 21:40:51 GMT
Remove obsolete test


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/91f36f6d
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/91f36f6d
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/91f36f6d

Branch: refs/heads/cassandra-1.2
Commit: 91f36f6dcadcc7260265028e912aeaa6e6129a8e
Parents: 08024b3
Author: Brandon Williams <brandonwilliams@apache.org>
Authored: Mon Dec 3 15:40:26 2012 -0600
Committer: Brandon Williams <brandonwilliams@apache.org>
Committed: Mon Dec 3 15:40:26 2012 -0600

----------------------------------------------------------------------
 .../org/apache/cassandra/dht/BootStrapperTest.java |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/91f36f6d/test/unit/org/apache/cassandra/dht/BootStrapperTest.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/dht/BootStrapperTest.java b/test/unit/org/apache/cassandra/dht/BootStrapperTest.java
index 36aa279..d2b1aec 100644
--- a/test/unit/org/apache/cassandra/dht/BootStrapperTest.java
+++ b/test/unit/org/apache/cassandra/dht/BootStrapperTest.java
@@ -217,17 +217,6 @@ public class BootStrapperTest extends SchemaLoader
         return s;
     }
 
-    @Test
-    public void testException() throws UnknownHostException
-    {
-        String table = Schema.instance.getNonSystemTables().iterator().next();
-        int replicationFactor = Table.open(table).getReplicationStrategy().getReplicationFactor();
-        RangeStreamer streamer = testSourceTargetComputation(table, replicationFactor, replicationFactor);
-        streamer.latch = new CountDownLatch(4);
-        streamer.convict(streamer.toFetch().get(table).iterator().next().getKey(), Double.MAX_VALUE);
-        assertNotNull("Exception message not set, test failed", streamer.exceptionMessage);
-    }
-
     private void generateFakeEndpoints(int numOldNodes) throws UnknownHostException
     {
         TokenMetadata tmd = StorageService.instance.getTokenMetadata();


Mime
View raw message