From 52f779b55fda2342978a7cce36a956e74ec490c9 Mon Sep 17 00:00:00 2001 From: Damien Ciabrini Date: Mon, 9 Aug 2021 15:40:10 +0200 Subject: [PATCH] tripleo-transfer: fix molecule test Since [1] tripleo-transfer allows excluding files from data transfer between hosts. The associated molecule tests have a typo which make it fail when the feature is not exercised in CI. [1] I1e88907db0bb26d52c92cb996eb56767e06b3874 Change-Id: Ic4ab7d83b4646ff2bba729b48f3cdab6c5ffcc1c (cherry picked from commit 26a3a6805ef48b7e8d91b6cf326eb9ad9f3bfc52) --- .../roles/tripleo_transfer/molecule/default/verify.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tripleo_ansible/roles/tripleo_transfer/molecule/default/verify.yml b/tripleo_ansible/roles/tripleo_transfer/molecule/default/verify.yml index e4fe0c006..1a4e99ae7 100644 --- a/tripleo_ansible/roles/tripleo_transfer/molecule/default/verify.yml +++ b/tripleo_ansible/roles/tripleo_transfer/molecule/default/verify.yml @@ -42,7 +42,7 @@ - set_fact: result_file_list: "{{ _fs_data | json_query('files[*].path') }}" test_dst_files: "{{ test_dst_files | map('regex_replace', '(.*)', test_dst_dir ~ '/\\1') }}" - test2_excluded_files: "{{ test2_excluded_files | map('regex_replace', '(.*)', test2_dst_dir ~ '/\\1') }}" + test2_excluded_files: "{{ test2_exclude_src_files | map('regex_replace', '(.*)', test2_dst_dir ~ '/\\1') }}" - name: Verify that the dst file are not there any more assert: