mirror of
https://github.com/openglow-org/forgefirm.git
synced 2026-09-28 09:11:11 -07:00
exthost.motion-jog: the test needs GRBL mode
The package's jog goes through the controller port, which only the GRBL controller serves. The test declared no mode, so it ran in whatever mode it found. Alone it always found GRBL mode; in the unattended queue it runs after the cloud tests, which leave the machine in cloud mode, and on the bench reference (image 20260923084705) the jog came back 409 "the GRBL controller is not running". It now declares mode="grbl", so the runner switches before it starts. The other tests without a mode were checked for the same need: none of them moves the machine or reaches the port (update.job-locks posts a job, and the job route refuses on the lease before anything else, in either mode). exthost.motion-jog PASS on the bench in the queue after the cloud tests; forgetest's unit tests 452 OK.
This commit is contained in:
@@ -1693,7 +1693,7 @@ def events(ctx):
|
|||||||
|
|
||||||
|
|
||||||
@test("exthost.motion-jog", title="A package jogs the machine, bounded and dark",
|
@test("exthost.motion-jog", title="A package jogs the machine, bounded and dark",
|
||||||
subsystem="exthost", kind="auto", hardware="takeover", est_min=7,
|
subsystem="exthost", kind="auto", hardware="takeover", mode="grbl", est_min=7,
|
||||||
covers=[("forgeext", "src/api.*"), ("forgeext", "src/machine.*"), ("forgeext", "src/run.*"),
|
covers=[("forgeext", "src/api.*"), ("forgeext", "src/machine.*"), ("forgeext", "src/run.*"),
|
||||||
("forgectrl", "src/tokens.*"), ("forgectrl", "src/auth.*"), ("forgectrl", "src/main.c"),
|
("forgectrl", "src/tokens.*"), ("forgectrl", "src/auth.*"), ("forgectrl", "src/main.c"),
|
||||||
("forgectrl", "src/grblport.*")],
|
("forgectrl", "src/grblport.*")],
|
||||||
|
|||||||
Reference in New Issue
Block a user