Skip to content

Commit aaa333c

Browse files
committed
toolchanger test: oops, forgot to wait for status buffer to update
Changes can take a while to percolate through the IO and Status buffers, unlike changes to HAL pins which are instant.
1 parent 053542c commit aaa333c

File tree

1 file changed

+1
-0
lines changed
  • tests/toolchanger/reload-tool/non-random

1 file changed

+1
-0
lines changed

tests/toolchanger/reload-tool/non-random/test-ui.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def wait_for_hal_pin(name, value, timeout=10):
9393
assert(h['tool-prep-number'] == 2)
9494
assert(h['tool-prep-pocket'] == 46)
9595

96+
time.sleep(stat_poll_wait)
9697
s.poll()
9798
assert(s.tool_in_spindle == 0)
9899
assert(s.pocket_prepped == -1)

0 commit comments

Comments
 (0)