1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-04 08:01:49 +00:00
hetzner.hcloud/tests/unit
Jonas L 19e586fa22
feat: use exponential backoff algorithm when polling actions (#524)
##### SUMMARY

Replace the constant poll interval of 1 second, with a truncated
exponential back off algorithm with jitter.

Below is a suite of poll interval (in seconds) generated by the new
algorithm:
```
1.49
2.14
5.46
6.51
6.57
5.57
5.98
7.13
6.59
7.10
5.54
5.03
6.56
5.96
6.72
7.21
7.05
5.31
5.60
6.33
6.82
5.42
6.08
6.60
TOTAL: 140.77
```
2024-07-04 15:07:05 +02:00
..
inventory fix(inventory): ensure host ipv6 variable is json serializable (#496) 2024-04-16 11:48:03 +02:00
module_utils feat: use exponential backoff algorithm when polling actions (#524) 2024-07-04 15:07:05 +02:00
conftest.py chore: add fail_on_invalid_params helper (#470) 2024-03-11 18:03:26 +01:00
requirements.txt ci: add unit tests to azure pipelines (#325) 2023-09-26 09:41:19 +02:00