]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/runtime/cases: make date.DateTest.test_date more reliable
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 12 Aug 2021 21:46:38 +0000 (23:46 +0200)
committerSteve Sakoman <steve@sakoman.com>
Tue, 17 Aug 2021 17:09:42 +0000 (07:09 -1000)
commitfd5387e8707e12b5c442bbe745c50a3e27085d02
tree4ba84b2ce88f29dc84d35f7f8d16bc1913d1d024
parenta155c4d4ca841ef492213a5f0b9121703c62e2b4
oeqa/runtime/cases: make date.DateTest.test_date more reliable

The test uses the broken out time and can only handle about 59s of delay,
use a UNIX timestamp to allow for up to a 300s delay.

[YOCTO #14463]

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b705e9373acd4119da75af4eb96ec92cc964aa86)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oeqa/runtime/cases/date.py