aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilosz Wasilewski <milosz.wasilewski@linaro.org>2018-01-18 18:13:24 +0000
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2018-01-19 12:37:07 +0000
commit033864bc440fd172e1503ba96f1ec4a84e6d06e2 (patch)
tree8d630f8349c725d42998cb5c8d1492bdda2cae3d
parent7ac61f8863dbb10cd31d82ab816843c625c20df8 (diff)
openembedded-lkft: disable timesyncd before running LTP timers
Change-Id: I82caf62229f72795d3e96e4e13fc88da6c5553a9 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
-rw-r--r--openembedded-lkft/lava-job-definitions/master/template-ltp.yaml.jinja22
-rw-r--r--openembedded-lkft/lava-job-definitions/testplan/ltp-timers.yaml14
2 files changed, 16 insertions, 0 deletions
diff --git a/openembedded-lkft/lava-job-definitions/master/template-ltp.yaml.jinja2 b/openembedded-lkft/lava-job-definitions/master/template-ltp.yaml.jinja2
index d2a479b7e2..86e487a4b2 100644
--- a/openembedded-lkft/lava-job-definitions/master/template-ltp.yaml.jinja2
+++ b/openembedded-lkft/lava-job-definitions/master/template-ltp.yaml.jinja2
@@ -11,6 +11,8 @@
{% block test_target %}
{{ super() }}
+{% block test_target_prep %}
+{% endblock test_target_prep %}
- repository: git://git.linaro.org/qa/test-definitions.git
from: git
path: automated/linux/ltp/ltp.yaml
diff --git a/openembedded-lkft/lava-job-definitions/testplan/ltp-timers.yaml b/openembedded-lkft/lava-job-definitions/testplan/ltp-timers.yaml
index 95bcc89add..8c2b47125d 100644
--- a/openembedded-lkft/lava-job-definitions/testplan/ltp-timers.yaml
+++ b/openembedded-lkft/lava-job-definitions/testplan/ltp-timers.yaml
@@ -2,3 +2,17 @@
{% set testname = 'timers' %}
{% set job_timeout = 20 %}
+
+{% block test_target_prep %}
+ - from: inline
+ repository:
+ metadata:
+ format: Lava-Test Test Definition 1.0
+ name: timesync-off
+ description: "Disable systemd time sync services"
+ run:
+ steps:
+ - systemctl stop systemd-timesyncd || true
+ name: timesync-off
+ path: inline/timesync-off.yaml
+{% endblock test_target_prep %}