]> 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)
committerAnuj Mittal <anuj.mittal@intel.com>
Mon, 23 Aug 2021 07:46:51 +0000 (15:46 +0800)
commit09e238635c8d4cd595c2233a14c2ce1cbb9e5162
treed9402a344e56193bbf577f898f276bd0b2504cc2
parent6fa724a55a4cb7eac7d4d50017b573af54fd6a34
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: Anuj Mittal <anuj.mittal@intel.com>
meta/lib/oeqa/runtime/cases/date.py