From c4ad2477188c2d226a4ea2e0fa6693967d5b103c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Mon, 23 Oct 2017 12:03:01 +0200 Subject: [PATCH] Test ansible 2.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We now test with Ansible 2.4. We had to change testinfra's version since only recent versions work with 2.4. See: https://github.com/philpep/testinfra/issues/249 Closes: https://github.com/ceph/ceph-ansible/issues/2087 Signed-off-by: Sébastien Han --- tests/requirements.txt | 5 ++--- tox.ini | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/requirements.txt b/tests/requirements.txt index c94c6243b..8ead7edab 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1,5 +1,4 @@ # These are Python requirements needed to run the functional tests -# 1.6.1 fails with 'testinfra is in an unsupported or invalid wheel' -# see https://github.com/philpep/testinfra/issues/201 -testinfra==1.6.0 +# testinfra < 1.7.1 does not work Ansible 2.4, see https://github.com/philpep/testinfra/issues/249 +testinfra==1.7.1 pytest-xdist diff --git a/tox.ini b/tox.ini index 464da93a5..cd0362635 100644 --- a/tox.ini +++ b/tox.ini @@ -149,6 +149,7 @@ setenv= deps= ansible2.2: ansible==2.2.3 ansible2.3: ansible==2.3.1 + ansible2.4: ansible==2.4.1 -r{toxinidir}/tests/requirements.txt changedir= # tests a 1 mon, 1 osd, 1 mds and 1 rgw xenial cluster using non-collocated OSD scenario