1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test
Pilou c5f37f6bd6 improve 'service' integration tests (#43655)
* service tests: check that daemon is really running

(spoiler: it isn't)

* service tests: add PIDFile directive in systemd unit

* service tests: check 'changed' too

* service tests: fix indentation & use changed test

* service tests: #16694 has been fixed a long time ago

* service tests: refactor

- always execute cleaning tasks
- move tests tasks in a dedicated file

* service tests: add test for #42786

* service tests: display value of ansible_service_mgr

* service tests: allow to run tests twice in a row

stop & disable ansible test service

* service tests: 'pattern' value must be a substring

'pattern' parameter is poorly named

* service tests: check ansible_test service status

* service tests: test daemon must handle SIGHUP

because 'initctl reload' sends SIGHUP, otherwise test daemon stops when
receiving the signal

* service tests: remove upstart override file too

and check that files were removed using raw module and stat command
2018-08-07 21:48:03 -07:00
..
cache Update ansible-test sanity command. (#31958) 2017-10-26 00:21:46 -07:00
integration improve 'service' integration tests (#43655) 2018-08-07 21:48:03 -07:00
legacy Vultr: Ensure facts works when no resource exists (#43603) 2018-08-07 20:12:36 +02:00
results Collect data from integration test runs. (#28650) 2017-08-25 18:14:47 -04:00
runner Nios integration and unit tests for all remaining nios new modules (#43399) 2018-08-01 08:54:01 +05:30
sanity Improving syntax highlighting in HTML docs (#42472) 2018-07-31 15:28:16 -05:00
units Only print warning when ansible.cfg is actually skipped (#43583) 2018-08-03 10:39:33 -07:00
utils Update Shippable integration test groups. (#43118) 2018-07-23 20:46:22 -07:00