[strace/strace] Rewrite time-sensitive checks to compare test's time notion with strace's (#182)
notifications at github.com
Wed Apr 7 15:39:21 UTC 2021
sleep/nanosleep/-r/-t/-T/delay/syscall stats checks rely on the fact that the nanosleep call (or its equivalents) wakes up the process within some tolerance, usually 0.1—0.2 seconds. This is not the case in some virtualised environments with heavy over-provisioning, one notable example is s390, which results in test failures which are not indicative of strace's issues (but rather some intermittent issues with the environment).
One possible fix for this is to collect the experienced delay from the test program's PoV and compare it to strace's notion of the time passed.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Strace-devel