You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by GitBox <gi...@apache.org> on 2020/11/27 05:13:15 UTC

[GitHub] [cassandra] bereng commented on a change in pull request #832: CASSANDRA-16302 Fix flaky to reflect Array backed clustering

bereng commented on a change in pull request #832:
URL: https://github.com/apache/cassandra/pull/832#discussion_r531386174



##########
File path: test/long/org/apache/cassandra/hints/HintsWriteThenReadTest.java
##########
@@ -129,10 +130,10 @@ private void verifyHints(File directory, HintsDescriptor descriptor)
 
                     Row row = mutation.getPartitionUpdates().iterator().next().iterator().next();
                     assertEquals(1, Iterables.size(row.cells()));
-                    assertEquals(bytes(index), row.clustering().get(0));
+                    assertTrue(Arrays.equals(bytes(index).array(), (byte[]) row.clustering().get(0)));

Review comment:
       sgtm +1




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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