You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by bd...@apache.org on 2018/11/18 00:10:25 UTC

[2/6] cassandra git commit: fix failing test

fix failing test


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

Branch: refs/heads/cassandra-3.11
Commit: 60a8cfe115b78cee7e4d8024984fa1f8367685db
Parents: 9eee7aa
Author: Blake Eggleston <bd...@gmail.com>
Authored: Fri Nov 16 14:35:22 2018 -0800
Committer: Blake Eggleston <bd...@gmail.com>
Committed: Sat Nov 17 16:01:09 2018 -0800

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


http://git-wip-us.apache.org/repos/asf/cassandra/blob/60a8cfe1/test/unit/org/apache/cassandra/db/SinglePartitionSliceCommandTest.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/db/SinglePartitionSliceCommandTest.java b/test/unit/org/apache/cassandra/db/SinglePartitionSliceCommandTest.java
index 2891687..ca0dfa5 100644
--- a/test/unit/org/apache/cassandra/db/SinglePartitionSliceCommandTest.java
+++ b/test/unit/org/apache/cassandra/db/SinglePartitionSliceCommandTest.java
@@ -395,7 +395,7 @@ public class SinglePartitionSliceCommandTest
         SelectStatement stmt = (SelectStatement) QueryProcessor.parseStatement(q).prepare(ClientState.forInternalCalls()).statement;
 
         List<Unfiltered> unfiltereds = new ArrayList<>();
-        SinglePartitionReadCommand.Group query = (SinglePartitionReadCommand.Group) stmt.getQuery(QueryOptions.DEFAULT, FBUtilities.nowInSeconds());
+        SinglePartitionReadCommand.Group query = (SinglePartitionReadCommand.Group) stmt.getQuery(QueryOptions.DEFAULT, 0);
         Assert.assertEquals(1, query.commands.size());
         SinglePartitionReadCommand command = Iterables.getOnlyElement(query.commands);
         try (ReadOrderGroup group = ReadOrderGroup.forCommand(command);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org