From 025c6e260291e7264724f07b5dc76573648fdc9d Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Fri, 30 Aug 2024 14:49:26 +0530 Subject: [PATCH] test-info.yml: Add 'method' to share section 'variant' is no longer relevant with sit-test-cases as it calculates the flapping list based on the access method used in each of the shares. So specify the method for each share section. 'variant' will be removed once sit-test-cases switches to look at 'method'. Signed-off-by: Anoop C S --- .../roles/test.sit-test-cases/templates/test-info.yml.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbooks/ansible/roles/test.sit-test-cases/templates/test-info.yml.j2 b/playbooks/ansible/roles/test.sit-test-cases/templates/test-info.yml.j2 index 087ed63..63b02a7 100644 --- a/playbooks/ansible/roles/test.sit-test-cases/templates/test-info.yml.j2 +++ b/playbooks/ansible/roles/test.sit-test-cases/templates/test-info.yml.j2 @@ -20,6 +20,7 @@ shares: backend: name: {{ config.be.name }} variant: {{ config.be.variant}} + method: {{ method }} path: {{ config.paths.mount }}/backends/{{ share.name }} {%- endfor +%} {%- else +%} @@ -27,6 +28,7 @@ shares: backend: name: {{ config.be.name }} variant: {{ config.be.variant}} + method: default path: {{ config.paths.mount }}/backends/{{ share.name }} {%- endif +%} {%- endfor +%}