Skip to content

Commit

Permalink
test: enumerate: verify process return code.
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Perchanov <[email protected]>
  • Loading branch information
dmipx committed Mar 28, 2024
1 parent e803947 commit 86dfa0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unit-tests/live/tools/test-enumerate-devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
universal_newlines=True,
timeout=10,
check=False ) # don't fail on errors
test.check(p != 0) # verify success return code
test.check(p.returncode == 0) # verify success return code
run_time_seconds = run_time_stopwatch.get_elapsed()
if run_time_seconds > run_time_threshold:
log.e('Time elapsed too high!', run_time_seconds, ' > ', run_time_threshold)
Expand Down

0 comments on commit 86dfa0a

Please sign in to comment.