astyanax icon indicating copy to clipboard operation
astyanax copied to clipboard

Question regarding testGetAllKeysRoot method in ThriftKeyspaceImplTest.java

Open rkrishnamurthy1 opened this issue 8 years ago • 1 comments

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

rkrishnamurthy1 avatar Jan 13 '17 17:01 rkrishnamurthy1

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

arunagrawal84 avatar May 03 '17 18:05 arunagrawal84