tests: runqueue: try to fix race on GitLab CI
authorPetr Štetiar <ynezz@true.cz>
Thu, 21 May 2020 14:28:29 +0000 (16:28 +0200)
committerPetr Štetiar <ynezz@true.cz>
Thu, 21 May 2020 14:28:29 +0000 (16:28 +0200)
commiteeddf22d9c280ccc4ca67dd269c6794ab8225f09
tree908ada1585df49c1a9b63ba9c85174992cffb2dc
parent89fb6136ad7484e4e8f9b618e530e098cf573665
tests: runqueue: try to fix race on GitLab CI

Seems like the CI runners are slower and produce different test output:

 -  [0/1] finish 'sleep 1' (killer)
    [1/1] start 'sleep 1' (sleeper)
 +  [1/1] finish 'sleep 1' (killer)
 +  [1/1] finish 'sleep 1' (killer)
    [1/1] cancel 'sleep 1' (sleeper)
    [0/1] finish 'sleep 1' (sleeper)
    [1/1] start 'sleep 1' (sleeper)

Lets try to fix it by lowering the killing timeout.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
tests/test-runqueue.c