Skip to content

Commit

Permalink
Test Opensearch service is running
Browse files Browse the repository at this point in the history
Opensearch is listening on port 9200/tcp per default. Lets check this with molecule.
  • Loading branch information
wsmirnow committed Dec 17, 2024
1 parent 3ad8104 commit 71d6abe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions molecule/default/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@
- name: Test Opensearch configuration directory exists
ansible.builtin.assert:
that: os_conf_dir.stat.exists

- name: Test Opensearch connection established
ansible.builtin.wait_for:
port: 9200
timeout: 60
msg: Opensearch service not reachable

0 comments on commit 71d6abe

Please sign in to comment.