]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/selftest/multiprocesslauch: Fix test race
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Jul 2021 11:06:24 +0000 (12:06 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 Jul 2021 10:38:57 +0000 (11:38 +0100)
commit31e9dcda40aae3ce0801580c838928956e1455e3
tree9907e05f1b3331a8c24594576cce93bc6c69537c
parentefef732859e265533acf16f2f4da3b29d50e0df4
oeqa/selftest/multiprocesslauch: Fix test race

Having two possible failures in multiprocesslauch creates a race where one failure
may occur and stop processes being lanuched meaning the second failure may not
be seen. Rather than having periodic races appearing on the autobuilder, only
have one failure, making the test much more deterministic.

[YOCTO #13054]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/oelib/utils.py