mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
gptimer: incerase example test threshold
This commit is contained in:
parent
719ff3392e
commit
7760053138
@ -12,7 +12,7 @@ def test_gptimer_example(dut: Dut) -> None:
|
|||||||
dut.expect_exact('Start timer, stop it at alarm event', timeout=5)
|
dut.expect_exact('Start timer, stop it at alarm event', timeout=5)
|
||||||
res = dut.expect(r'Timer stopped, count=(\d+)', timeout=30)
|
res = dut.expect(r'Timer stopped, count=(\d+)', timeout=30)
|
||||||
stopped_count = res.group(1).decode('utf8')
|
stopped_count = res.group(1).decode('utf8')
|
||||||
assert (1000000 - 10) < int(stopped_count) < (1000000 + 10)
|
assert (1000000 - 20) < int(stopped_count) < (1000000 + 20)
|
||||||
|
|
||||||
dut.expect_exact('Set count value')
|
dut.expect_exact('Set count value')
|
||||||
dut.expect_exact('Get count value')
|
dut.expect_exact('Get count value')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user