@Test
public void checkVolumeFileForActivityTest() throws IOException {

    System.out.print("Testing block on modified files - ");
    String filePath = "./testfileinactive";
    int timeoutSeconds = 5;
    long thresholdMilliseconds = 2000;
    File file = new File(filePath);
    long startTime = setupcheckVolumeFileForActivityFile(file, _minFileSize);
    HypervisorUtils.checkVolumeFileForActivity(filePath, timeoutSeconds, thresholdMilliseconds, _minFileSize);
    long duration = System.currentTimeMillis() - startTime;
    Assert.assertFalse("Didn't block long enough, expected at least " + thresholdMilliseconds + " and got " + duration, duration < thresholdMilliseconds);
    System.out.println("pass");
    file.delete();
}