Skip to content

Commit

Permalink
refactor(tests): remove checks for influxdbv2 dir
Browse files Browse the repository at this point in the history
with the new changes in influxdbv2's admin credentials injection via
docker secrets, remove the checks for the dedicated `influxdbv2`
directory

relates to #48

Signed-off-by: Shantanoo 'Shan' Desai <[email protected]>
  • Loading branch information
shantanoo-desai committed Apr 15, 2023
1 parent d0d9bc4 commit 73c2657
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/test_generated_directories.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@
success_msg: "PASS: {{ item.item }} exist under {{ komponist.deploy_dir }} directory"
quiet: false
loop: "{{ test_deploy_dir_service_state.results | map('ansible.utils.keep_keys', ['item', 'exists', 'isdir', 'mode']) }}"
when: "item.item != 'influxdbv2'"
loop_control:
label: "{{ item.item }}"
2 changes: 1 addition & 1 deletion tests/test_generated_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

- name: Check InfluxDB V1/V2 Generated Files in deploy_dir
ansible.builtin.include_tasks: "{{ playbook_dir }}/services/test_config_influxdb.yml"
with_items: "{{ komponist.configuration.keys() | select('match', 'influxdbv[1-2]') | list }}"
with_items: "{{ komponist.configuration.keys() | select('match', 'influxdbv1') | list }}"

- name: Check Mosquitto MQTT Generated Files in deploy_dir
ansible.builtin.include_tasks: "{{ playbook_dir }}/services/test_config_mosquitto.yml"
Expand Down

0 comments on commit 73c2657

Please sign in to comment.