HDDS-646. TestChunkStreams.testErrorReadGroupInputStream fails. Contributed by Nanda kumar.

This commit is contained in:
Arpit Agarwal 2018-10-12 15:06:42 -07:00
parent 5c8e023ba3
commit ddc9649328
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ public class TestChunkStreams {
// read following 300 bytes, but only 200 left
len = groupInputStream.read(resBuf, 340, 260);
assertEquals(5, groupInputStream.getCurrentStreamIndex());
assertEquals(4, groupInputStream.getCurrentStreamIndex());
assertEquals(0, groupInputStream.getRemainingOfIndex(4));
assertEquals(160, len);
assertEquals(dataString, new String(resBuf).substring(0, 500));