Jenkins tuneup (#28095)

* tuneup

* use service messages

* logmono

* not passive
old-commit-hash: d5a0a4b3e8a52b5a0e1da325c15cdb99d2a71350
This commit is contained in:
Adeeb Shihadeh
2023-05-03 16:52:20 -07:00
committed by GitHub
parent 4726288d75
commit e631d24d77
3 changed files with 11 additions and 13 deletions
@@ -16,11 +16,11 @@ class Proc:
name: str
power: float
rtol: float = 0.05
atol: float = 0.1
atol: float = 0.12
warmup: float = 6.
PROCS = [
Proc('camerad', 2.15),
Proc('camerad', 2.1),
Proc('modeld', 0.93, atol=0.2),
Proc('dmonitoringmodeld', 0.4),
Proc('encoderd', 0.23),
@@ -60,7 +60,7 @@ class TestPowerDraw(unittest.TestCase):
manager_cleanup()
tab = []
tab.append(['process', 'expected (W)', 'current (W)'])
tab.append(['process', 'expected (W)', 'measured (W)'])
for proc in PROCS:
cur = used[proc.name]
expected = proc.power