adelapena commented on a change in pull request #735:
URL: https://github.com/apache/cassandra/pull/735#discussion_r699472078
##########
File path: test/unit/org/apache/cassandra/index/sasi/SASIIndexTest.java
##########
@@ -1399,8 +1399,8 @@ public void testSearchTimeouts()
try (ReadExecutionController controller =
command.executionController())
{
- Set<String> rows = getKeys(new QueryPlan(store, command,
DatabaseDescriptor.getRangeRpcTimeout(MILLISECONDS)).execute(controller));
- assertRows(rows, "key1", "key2", "key3", "key4");
+ Set<String> rows = getKeys(new SASIIndexSearcher(store, command,
DatabaseDescriptor.getRangeRpcTimeout(MILLISECONDS)).search(controller));
+ Assert.assertTrue(rows.toString(), Arrays.equals(new String[] {
"key1", "key2", "key3", "key4" }, rows.toArray(new String[rows.size()])));
Review comment:
Do we need this instead of the original `assertRows`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]