Commit 5afae4e3 authored by Perceval Guillou's avatar Perceval Guillou
Browse files

Merge branch '2834-ci-test_sample_regulation' into 'master'

Resolve "CI: test_sample_regulation"

Closes #2834

See merge request bliss/bliss!3819
parents 03599e74 c0bd5fbb
Pipeline #49093 failed with stages
in 102 minutes and 18 seconds
......@@ -63,7 +63,8 @@ def mockup_regulation(loop):
assert x.is_ramping() is True
gevent.sleep(0.1)
assert x.is_ramping() is True
with gevent.Timeout(2.0):
with gevent.Timeout(3.0):
# Takes approx. 1 seconds
while x.is_ramping():
gevent.sleep(0.01)
assert x.setpoint == sp
......@@ -94,7 +95,8 @@ def mockup_regulation(loop):
sp = x.input.read() + 0.1
x.axis_move(sp)
with gevent.Timeout(5.0):
with gevent.Timeout(10.0):
# Takes approx. 5 seconds
while x.axis_state() != "READY":
gevent.sleep(0.01)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment