cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yu...@apache.org
Subject [1/3] git commit: fix test compile
Date Thu, 03 Apr 2014 21:29:52 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.1 afc4e2eb2 -> 9cd68230b
  refs/heads/trunk 4bc9b47fa -> 9eb16ae5b


fix test compile


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

Branch: refs/heads/cassandra-2.1
Commit: 9cd68230b2430a2782d2b7062eaa7ed4f3437d62
Parents: afc4e2e
Author: Yuki Morishita <yukim@apache.org>
Authored: Thu Apr 3 16:28:45 2014 -0500
Committer: Yuki Morishita <yukim@apache.org>
Committed: Thu Apr 3 16:28:45 2014 -0500

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


http://git-wip-us.apache.org/repos/asf/cassandra/blob/9cd68230/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 9b02817..e22fa8f 100644
--- a/test/unit/org/apache/cassandra/streaming/StreamTransferTaskTest.java
+++ b/test/unit/org/apache/cassandra/streaming/StreamTransferTaskTest.java
@@ -59,7 +59,7 @@ public class StreamTransferTaskTest extends SchemaLoader
         {
             List<Range<Token>> ranges = new ArrayList<>();
             ranges.add(new Range<>(sstable.first.getToken(), sstable.last.getToken()));
-            task.addTransferFile(sstable, 1, sstable.getPositionsForRanges(ranges));
+            task.addTransferFile(sstable, 1, sstable.getPositionsForRanges(ranges), 0);
         }
         assertEquals(2, task.getTotalNumberOfFiles());
 


Mime
View raw message