@Ignore
@Test
public void testGetFileSizesInByte() {

  long dataSizeBefore;
  long dataSizeAfter;
  boolean isWriteSuccess = true;
  File testFile = new File(TEST_FILE_PATH);
  if (testFile.exists()) {
    try {
      Files.delete(testFile.toPath());
    } catch (IOException e) {
      isWriteSuccess = false;
      e.printStackTrace();
    }
  }
  try {
    if (!testFile.createNewFile()) {
      isWriteSuccess = false;
    }
  } catch (IOException e) {
    e.printStackTrace();
  }
  dataSizeBefore = FileSize.getInstance().getFileSizesInByte().get(FileSizeConstants.SYS);
  byte[] contentInBytes = TEST_FILE_CONTENT.getBytes();
  // insert something into the test file under data dir
  try (FileOutputStream fileOutputStream = new FileOutputStream(testFile)) {
    fileOutputStream.write(contentInBytes);
    fileOutputStream.flush();
  } catch (IOException e) {
    isWriteSuccess = false;
    e.printStackTrace();
  }
  // calculate the delta of data dir file size
  dataSizeAfter = FileSize.getInstance().getFileSizesInByte().get(FileSizeConstants.SYS);
  long deltaSize = dataSizeAfter - dataSizeBefore;
  if (isWriteSuccess) {
    //check if the the delta of data dir file size is equal to the written content size in byte
    assertEquals(contentInBytes.length, deltaSize);
  } else {
    assertEquals(0, deltaSize);
  }
}