mirror of
https://github.com/openglow-org/forgefirm.git
synced 2026-09-27 16:51:12 -07:00
A queue runs the catalog in registration order among tests with the same prerequisites, and cooling.aa-offset-calibrate followed cooling.flow-verify. A flow-verify trial heats the tube water (a no-flow trial by 17 C on the bench) and the warm slug circulates past the coolant sensors for minutes afterward; the calibration's stationary gate passed 44 s after the trial on image 20260902144848 and the edges read the wave as disagreement. The calibration is registered first now, with the reason beside it, and tests/test_cooling_order.py holds the order. Catalog consequence: the cooling.* implementation hashes move (the suite file changed).
20 lines
672 B
Python
20 lines
672 B
Python
"""cooling.aa-offset-calibrate is registered before the heater tools, so
|
|
a queue runs it first: a heater trial leaves a warm slug circulating past
|
|
the coolant sensors for minutes, and the tool's edges read it as
|
|
disagreement."""
|
|
import unittest
|
|
|
|
from forgetest import catalog
|
|
|
|
|
|
class CoolingOrderTests(unittest.TestCase):
|
|
def test_aa_offset_precedes_flow_verify(self):
|
|
reg = catalog.load_suite()
|
|
tests = catalog.all_tests(reg)
|
|
order = catalog.order_by_requires(tests, [t.id for t in tests])
|
|
self.assertLess(order.index("cooling.aa-offset-calibrate"), order.index("cooling.flow-verify"))
|
|
|
|
|
|
if __name__ == "__main__":
|
|
unittest.main()
|