Skip to content

Commit

Permalink
test_tacd_eet_analog: Increase timeout for analog to settle
Browse files Browse the repository at this point in the history
With just `0.2 s` of delay the measurement of `v1/dut/feedback/current`
did not reliably succeed.
It seems the test-setup simply needs a short moment until there is
actually current flowing that can be measured.
  • Loading branch information
SmithChart committed Oct 9, 2024
1 parent cf78344 commit b5e1fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_tacd.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def test_tacd_eet_analog(strategy, shell, eet, endpoint, link, bounds, precondit
assert r.status_code == 204

eet.link(link) # connect supply to output
time.sleep(0.2) # give the analog world a moment to settle
time.sleep(0.5) # give the analog world a moment to settle

r = requests.get(f"http://{strategy.network.address}/{endpoint}")
assert r.status_code == 200
Expand Down

0 comments on commit b5e1fb7

Please sign in to comment.