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>
This commit is contained in:
parent
89fb6136ad
commit
eeddf22d9c
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ static void add_sleeper(int val)
|
|||
};
|
||||
|
||||
struct sleeper *k = create_sleeper(val, &killer_type, true);
|
||||
uloop_timeout_set(&k->t, 100);
|
||||
uloop_timeout_set(&k->t, 10);
|
||||
uloop_timeout_add(&k->t);
|
||||
runqueue_task_add(&q, &k->proc.task, false);
|
||||
|
||||
|
|
Loading…
Reference in a new issue