long startTime = System.currentTimeMillis(); | long startTime = System.currentTimeMillis(); | ||||
// ensure that a fast cpu doesn't complete file write within 1000ms of start | // ensure that a fast cpu doesn't complete file write within 1000ms of start | ||||
try { | try { | ||||
Thread.sleep(1000); | |||||
Thread.sleep(2000); | |||||
} catch (InterruptedException e) { | } catch (InterruptedException e) { | ||||
e.printStackTrace(); | e.printStackTrace(); | ||||
} | } |