]> git.proxmox.com Git - pmg-api.git/commit
tests: greylist: retry connecting 3 times
authorStoiko Ivanov <s.ivanov@proxmox.com>
Fri, 11 Jun 2021 15:54:47 +0000 (17:54 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 16 Jun 2021 12:20:49 +0000 (14:20 +0200)
commit6954b8a6ec802cbc441203863bf61ac9a2624f5c
tree5db71fedbd0a12103f990af894eb5e15cee4abbe
parent4e5d7fd8808e8579a1e483bf999f1e83f9eb4f29
tests: greylist: retry connecting 3 times

Sometimes pmgpolicy is not done starting up when we try connecting.
Sadly strace on test_greylist.pl makes the problem disappear.

Looping 3 times should work robustly.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Reviewed-By: Dominik Csapak <d.csapak@proxmox.com>
Tested-By: Dominik Csapak <d.csapak@proxmox.com>
src/tests/test_greylist.pl