Skip to content

Commit

Permalink
testcases/pmwg.yaml: Change timeout division to integer (//)
Browse files Browse the repository at this point in the history
LAVA testjob submit fail because / returns float and SQUAD/LAVA
expect integer for timeouts.

Set linux-pmwg timeout to test_timeout without division because
{{ test_timeout // 1.5 }} will return float number.

See,

https://qa-reports.linaro.org/testjob/5842098

Signed-off-by: Aníbal Limón <[email protected]>
  • Loading branch information
Aníbal Limón committed Oct 5, 2021
1 parent 48839ff commit 1a21bf2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions testcases/pmwg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
name: ssh-enable-target-login-inline
path: inline/ssh-enable-target-login.yaml
timeout:
minutes: {{ test_timeout / 18 }}
minutes: {{ test_timeout // 18 }}
{% endblock test_target %}

{% block test_lxc %}
Expand All @@ -37,7 +37,7 @@
path: testdefs/arm-probe.yaml
name: arm-probe
timeout:
minutes: {{ test_timeout / 9 }}
minutes: {{ test_timeout // 9 }}

- from: inline
repository:
Expand All @@ -56,7 +56,7 @@
name: prep-inline
path: inline/prep.yaml
timeout:
minutes: {{ test_timeout / 9 }}
minutes: {{ test_timeout // 9 }}

- repository: {{ TEST_DEFINITIONS_REPOSITORY }}
from: git
Expand All @@ -71,7 +71,7 @@
DEVLIB_TAG: "v1.1.2"
name: linux-pmwg
timeout:
minutes: {{ test_timeout / 1.5 }}
minutes: {{ test_timeout }}
{% endblock test_lxc %}

{% block visibility %}
Expand Down

0 comments on commit 1a21bf2

Please sign in to comment.