commit | eb6a74d5603d4bac1d77fc895946ffbdd99f4b97 | [log] [tgz] |
---|---|---|
author | Gabor Pali <gabor.pali@ibm.com> | Sun Jun 04 00:59:51 2023 +0200 |
committer | Nick Vatamaniuc <nickva@users.noreply.github.com> | Mon Jun 05 11:13:49 2023 -0400 |
tree | 772174a8b59209c8d4ddc621b225c2c5ae795514 | |
parent | 416c1cd8d01b3c47bdbfd48e3899b295d05218c3 [diff] |
mango: revisit test database recreation logic Databases used for integration testing are being recreated by unbounded recursion which can blow up the stack in case of unrecoverable errors. Replace the tail recursion for a regular loop, set an upper limit for the number of tries, and signal the problem with a more descriptive message. Introduce an increasing delay between the subsequent tries for tolerance against transient errors.