cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slebre...@apache.org
Subject [2/6] cassandra git commit: Ninja-fix test build
Date Fri, 05 Aug 2016 14:27:30 GMT
Ninja-fix test build


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

Branch: refs/heads/cassandra-3.9
Commit: 150307e95c907939cd9c690f77d7b475edb86c9e
Parents: 904cb5d
Author: Sylvain Lebresne <sylvain@datastax.com>
Authored: Fri Aug 5 16:23:19 2016 +0200
Committer: Sylvain Lebresne <sylvain@datastax.com>
Committed: Fri Aug 5 16:23:19 2016 +0200

----------------------------------------------------------------------
 .../org/apache/cassandra/streaming/StreamTransferTaskTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/150307e9/test/unit/org/apache/cassandra/streaming/StreamTransferTaskTest.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/streaming/StreamTransferTaskTest.java b/test/unit/org/apache/cassandra/streaming/StreamTransferTaskTest.java
index dce56eb..185498f 100644
--- a/test/unit/org/apache/cassandra/streaming/StreamTransferTaskTest.java
+++ b/test/unit/org/apache/cassandra/streaming/StreamTransferTaskTest.java
@@ -134,7 +134,7 @@ public class StreamTransferTaskTest
 
         // create streaming task that streams those two sstables
         StreamTransferTask task = new StreamTransferTask(session, cfs.metadata.cfId);
-        List<Ref<SSTableReader>> refs = new ArrayList<>(cfs.getSSTables().size());
+        List<Ref<SSTableReader>> refs = new ArrayList<>(cfs.getLiveSSTables().size());
         for (SSTableReader sstable : cfs.getLiveSSTables())
         {
             List<Range<Token>> ranges = new ArrayList<>();


Mime
View raw message