Skip to content
Snippets Groups Projects
Commit 0c793839 authored by Thomas Guillem's avatar Thomas Guillem Committed by Steve Lhomme
Browse files

test: thumbnail: fix spurious fail

Fixes the following assert:
```
Assertion failed: (status == -EINTR), function thumbnailer_callback_cancel, file thumbnail.c, line 194.
FAIL test_src_preparser_thumbnail (exit status: 134)
```

By increasing the length of the mock used to test cancellation. It was
200us, so it was possible that the thumbnailer finished before we could
cancel it.

Note that can_control_pace is false and that there are no video tracks,
so the thumbnailer will take 20 secs to find a thumbnail (and fail),
giving us enough time to cancel it.

Fixes #29018
parent 29890589
No related branches found
No related tags found
Loading
Pipeline #565910 passed with stage
in 39 minutes and 11 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment