diff --git a/changelog.d/composed-scan-test-untimed.fixed.md b/changelog.d/composed-scan-test-untimed.fixed.md new file mode 100644 index 0000000000..557e405d49 --- /dev/null +++ b/changelog.d/composed-scan-test-untimed.fixed.md @@ -0,0 +1,4 @@ +Drop the wall-clock assert from +`test_precalibration_ancestry_composed_stage_scan_is_linear`. The test already +pins the composed pass's linear scan exactly (no JSON decoded from an offset); +the extra `elapsed < 1` check flaked on a loaded CI runner (2.13 s). diff --git a/packages/microcosm-build/tests/engine_free/shared/test_transport_composed_graph.py b/packages/microcosm-build/tests/engine_free/shared/test_transport_composed_graph.py index 5b6681b73e..916e014f8f 100644 --- a/packages/microcosm-build/tests/engine_free/shared/test_transport_composed_graph.py +++ b/packages/microcosm-build/tests/engine_free/shared/test_transport_composed_graph.py @@ -7138,12 +7138,9 @@ def raw_decode(self, text, idx=0): spec = _synthetic_stage_spec( [binding], [_synthetic_stage(binding, ["p_out"])], rows ) - started = time.perf_counter() outcomes = _synthetic_outcomes(spec, nodes, {"p": "p-ref"}) - elapsed = time.perf_counter() - started assert outcomes == {"declaration": None, "composed": None} assert Counted.offsets == 0 - assert elapsed < 1 @pytest.mark.parametrize(