]> 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)
committerSteve Sakoman <steve@sakoman.com>
Sun, 11 Jul 2021 16:19:43 +0000 (06:19 -1000)
commit5df87fc7d3353abb8a8f4a25b544e7927c8b39eb
treeeb00e5d213539445adff58eba806d6af36489ca9
parent317e334518c6394ecba4a3fdd4ba18b185822d22
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>
(cherry picked from commit 31e9dcda40aae3ce0801580c838928956e1455e3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oeqa/selftest/cases/oelib/utils.py