mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-21 11:34:15 -07:00
docker_swarm_service: Enable tests (#51170)
* Enable tests * Comment fixes * Try lowering timeouts * Comment fix * Comment fix * Comment fix * Add a pause to let service update * Fix comment * Disable dns_search tests * Disable dns_servers test * Fix comment * Fix comment * Fix comment * Fix comment * Fix comment * Fix comment * Fix comment * Revert "Disable dns_servers test" This reverts commit 763e9da716b78f4986f313b3ba1ab98faacb742e. * Revert "Disable dns_search tests" This reverts commit 2859e4e3a5ebdca078de84d821bb53bbdf967dfd. * Revert "Add a pause to let service update" This reverts commit e990dfae1a62e9a42b07960819818bc75fd04427. * Revert "Try lowering timeouts" This reverts commit 1617772de81ecef0e560b38c7564646ec3874c3c. * Ensure that services are running while testing * Retry tasks on update out of sequence error * Remove unnecessary check for APIError.explanation Co-Authored-By: hannseman <hannes@5monkeys.se> * Ignore errors when tearing down test suite * Retry with a loop instead of tail recursion * Initialize self.diff_trace in run * Add change log fragment * Actually raise error * Add unit test for retrying * Lint * Change to bugfix * Remove whitespace * Mock docker dependency * Use download.fedoraproject.org * Revert "Use download.fedoraproject.org" This reverts commit 5931791f7cfdd339f15068c8706b39905517abdf.
This commit is contained in:
parent
d8d4dc3f52
commit
4a5d38b55a
5 changed files with 220 additions and 22 deletions
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- "docker_swarm_service - When docker fails to update a container with an ``update out of sequence`` error, the module will retry to update up to two times, and only fail if all three attempts do not succeed."
|
Loading…
Add table
Add a link
Reference in a new issue