
TachyonFile f = TachyonFSTestUtils.createByteFile(sTfs, path, k, op);
</BUG>
for (int i = 0; i < 2; i ++) {
<BUG>FileInStream is = sTfs.getInStream(f, TachyonFSTestUtils.toOpenFileOptions(op));
</BUG>
byte[] ret = new byte[k];
int value = is.read();
int cnt = 0;
while (value != -1) {

}
@Test
public void readTest1() throws IOException, TachyonException {
String uniqPath = PathUtils.uniqPath();
for (int k = MIN_LEN; k <= MAX_LEN; k += DELTA) {
for (CreateFileOptions op : getOptionSet()) {
TachyonURI path = new TachyonURI(uniqPath + "/file_" + k + "_" + op.hashCode());
TachyonFSTestUtils.createByteFile(sTfs, path, op, k);
for (int i = 0; i < 2; i ++) {
FileInStream is = sTfs.openFile(path, TachyonFSTestUtils.toOpenFileOptions(op));
byte[] ret = new byte[k];
int value = is.read();
int cnt = 0;
while (value != -1) {
