code: @Test public void lockBlockTest2() throws IOException {
    TachyonFile tFile=null;
    int numOfFiles=5;
    int fileSize=WORKER_CAPACITY_BYTES / numOfFiles;
    List<Integer> fileIds=new ArrayList<Integer>();
    for (int k=0; k < numOfFiles; k++) {
      fileIds.add(TestUtils.createByteFile(mTfs,"/file_" + k,WriteType.CACHE_THROUGH,fileSize));
    }
    for (int k=0; k < numOfFiles; k++) {
      tFile=mTfs.getFile(fileIds.get(k));
      Assert.assertTrue(tFile.isInMemory());
      Assert.assertNotNull(tFile.readByteBuffer());
    }
    fileIds.add(TestUtils.createByteFile(mTfs,"/file_" + numOfFiles,WriteType.CACHE_THROUGH,fileSize));
    for (int k=0; k < numOfFiles; k++) {
      tFile=mTfs.getFile(fileIds.get(k));
      Assert.assertTrue(tFile.isInMemory());
    }
    CommonUtils.sleepMs(null,SLEEP_MS);
    tFile=mTfs.getFile(fileIds.get(numOfFiles));
    Assert.assertFalse(tFile.isInMemory());
  }
  