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/trunk Commit: 60a8cfe115b78cee7e4d8024984fa1f8367685db Parents: 9eee7aa Author: Blake Eggleston <bdeggles...@gmail.com> Authored: Fri Nov 16 14:35:22 2018 -0800 Committer: Blake Eggleston <bdeggles...@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-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org