From 1b8c4b31be8616582bc5a9661847932e410f0830 Mon Sep 17 00:00:00 2001 From: Douglas Raillard Date: Fri, 22 Jul 2022 15:00:17 +0100 Subject: [PATCH] lisa.tests.scheduler.load_tracking: Add missing noise check FIX RqInvariance tests predict rq signals by looking at the test task signal only. This means it's susceptible to interferences if another task in the system wakes up. Add the noisy task check to ensure the trace is free of unwanted activations. --- lisa/tests/scheduler/load_tracking.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisa/tests/scheduler/load_tracking.py b/lisa/tests/scheduler/load_tracking.py index 6e0bdfe1a..234ce5923 100644 --- a/lisa/tests/scheduler/load_tracking.py +++ b/lisa/tests/scheduler/load_tracking.py @@ -727,6 +727,7 @@ class TaskInvariance(InvarianceBase): return self._test_behaviour('load', error_margin_pct) @ITEM_CLS.test_load_behaviour.used_events + @RTATestBundle.test_noisy_tasks.undecided_filter(noise_threshold_pct=1) def test_util_behaviour(self, error_margin_pct=5) -> AggregatedResultBundle: """ Aggregated version of :meth:`TaskInvariance.ITEM_CLS.test_util_behaviour` @@ -738,6 +739,7 @@ class TaskInvariance(InvarianceBase): return self._test_all_items(item_test) @ITEM_CLS.test_load_behaviour.used_events + @RTATestBundle.test_noisy_tasks.undecided_filter(noise_threshold_pct=1) def test_load_behaviour(self, error_margin_pct=5) -> AggregatedResultBundle: """ Aggregated version of :meth:`TaskInvariance.ITEM_CLS.test_load_behaviour` -- GitLab