]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 Aug 2021 21:43:50 +0000 (22:43 +0100)
commitb705e9373acd4119da75af4eb96ec92cc964aa86
tree96dc28bfb47294a81cea1511ad466fb0b992c0bc
parent0b04ae769d4fad2caaa858803d8fbbbaec689541
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>
meta/lib/oeqa/runtime/cases/date.py