Netflix / astyanax

Cassandra Java Client
Apache License 2.0
1.04k stars 357 forks source link

Question regarding testGetAllKeysRoot method in ThriftKeyspaceImplTest.java #628

Open rkrishnamurthy1 opened 7 years ago

rkrishnamurthy1 commented 7 years ago

https://github.com/Netflix/astyanax/blob/master/astyanax-test/src/test/java/com/netflix/astyanax/thrift/ThriftKeyspaceImplTest.java

@Test public void testGetAllKeysRoot() { ......... row = result.getResult().getRowByIndex(10); Assert.assertEquals("M", row.getKey()); ....... }

Ideally row by index of the 10th index should return the 11th element K right. Not sure why it should be M (the 12th index). Clarification would help here. Thanks

arunagrawal84 commented 7 years ago

@rkrishnamurthy1 yes that is wrong. It should be K.