Author: brandonwilliams Date: Mon Oct 3 20:49:32 2011 New Revision: 1178571
URL: http://svn.apache.org/viewvc?rev=1178571&view=rev Log: Fix BootStrapperTest Modified: cassandra/branches/cassandra-0.8/test/unit/org/apache/cassandra/dht/BootStrapperTest.java cassandra/branches/cassandra-1.0.0/test/unit/org/apache/cassandra/dht/BootStrapperTest.java Modified: cassandra/branches/cassandra-0.8/test/unit/org/apache/cassandra/dht/BootStrapperTest.java URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.8/test/unit/org/apache/cassandra/dht/BootStrapperTest.java?rev=1178571&r1=1178570&r2=1178571&view=diff ============================================================================== --- cassandra/branches/cassandra-0.8/test/unit/org/apache/cassandra/dht/BootStrapperTest.java (original) +++ cassandra/branches/cassandra-0.8/test/unit/org/apache/cassandra/dht/BootStrapperTest.java Mon Oct 3 20:49:32 2011 @@ -187,6 +187,7 @@ public class BootStrapperTest extends Cl public void registerFailureDetectionEventListener(IFailureDetectionEventListener listener) { throw new UnsupportedOperationException(); } public void unregisterFailureDetectionEventListener(IFailureDetectionEventListener listener) { throw new UnsupportedOperationException(); } public void remove(InetAddress ep) { throw new UnsupportedOperationException(); } + public void clear(InetAddress ep) { throw new UnsupportedOperationException(); } }; Multimap<InetAddress, Range> temp = BootStrapper.getWorkMap(res, mockFailureDetector); // there isn't any point in testing the size of these collections for any specific size. When a random partitioner Modified: cassandra/branches/cassandra-1.0.0/test/unit/org/apache/cassandra/dht/BootStrapperTest.java URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-1.0.0/test/unit/org/apache/cassandra/dht/BootStrapperTest.java?rev=1178571&r1=1178570&r2=1178571&view=diff ============================================================================== --- cassandra/branches/cassandra-1.0.0/test/unit/org/apache/cassandra/dht/BootStrapperTest.java (original) +++ cassandra/branches/cassandra-1.0.0/test/unit/org/apache/cassandra/dht/BootStrapperTest.java Mon Oct 3 20:49:32 2011 @@ -187,6 +187,7 @@ public class BootStrapperTest extends Cl public void registerFailureDetectionEventListener(IFailureDetectionEventListener listener) { throw new UnsupportedOperationException(); } public void unregisterFailureDetectionEventListener(IFailureDetectionEventListener listener) { throw new UnsupportedOperationException(); } public void remove(InetAddress ep) { throw new UnsupportedOperationException(); } + public void clear(InetAddress ep) { throw new UnsupportedOperationException(); } }; Multimap<InetAddress, Range> temp = BootStrapper.getWorkMap(res, mockFailureDetector); // there isn't any point in testing the size of these collections for any specific size. When a random partitioner