Github user nlivens commented on the pull request:
https://github.com/apache/cloudstack/pull/1142#issuecomment-162496553
@bhaisaab, we've looked into the code of that test, and the results are
unreliable.
The steps that are done in that test (along with the implementation of the
called method)
1. Create file
2. Register start time
3. Loop until the diff between now and last modified or last accessed time
is higher than a passed threshold (2000ms)
4. Register end time
5. Check if diff between start and end time is lower than passed threshold
(2000ms)
It's possible that between step 1 and 2, mostly on a loaded system, the
thread that is running the test has to wait for available resources on your
system. Therefore it's possible that step 3 returns immediately without
looping. So, the end time will be really close to the start time, and will be
below those 2000ms.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---