test: remove strict timing requirements some tests
authorAaron Conole <aconole@redhat.com>
Thu, 3 Jun 2021 15:22:34 +0000 (11:22 -0400)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 3 Jun 2021 16:08:57 +0000 (18:08 +0200)
commitee00af60170b1ce35298e1554f7655f69af2c043
tree64844adeea562a3f6b0fae346addbf69cb02ceb2
parent66b3a54b9feab193a5cf8ad54606d745078587cc
test: remove strict timing requirements some tests

The tests 'alarm_autotest' and 'cycles_autotest' rely on the underlying
system having very accurate and precise timing.  On systems where the
timing isn't as rigid, or the load is particularly high, these tests are
unreliable since the wake latency from the scheduler can be high enough
to miss the timing window.

Remove the timing related tests from the test suites.  These tests now
ensure the add/remove callback infrastructure unit tests, but drop the
waits and reliance on system timing and load.

This avoids FAIL on various testing infrastructures.

Signed-off-by: Aaron Conole <aconole@redhat.com>
app/test/autotest_data.py
app/test/meson.build
app/test/test_alarm.c
app/test/test_cycles.c