]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/runtime/date: stop systemd-timesyncd during test
authorRoss Burton <ross.burton@intel.com>
Wed, 9 Sep 2015 20:05:26 +0000 (21:05 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 11 Sep 2015 22:38:02 +0000 (23:38 +0100)
commit5334f1b1e9363fa9c128289b51ade55c7ae1a0a3
tree459c3fb527be3c85f8b2b37083e1d1a3c8b6c6a6
parent9d298d1563b3fd5ad569f806cc296e13279e7cf6
oeqa/runtime/date: stop systemd-timesyncd during test

There's a race between systemd-timesyncd manipulating the system time (with NTP
lookups) and the test case's time manipulation.  Prevent this by stopping
systemd-timesyncd for the duration of the test case.

Thanks to Khem Raj for root-causing this.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oeqa/runtime/date.py