jquery / jquery

jQuery JavaScript Library
https://jquery.com
MIT License
58.93k stars 20.62k forks source link

Tests: add --hard-retries option to test runner #5438

Closed timmywil closed 2 months ago

timmywil commented 2 months ago

Summary

Add the ability to retry by restarting the worker and getting a different browser instance, after all normal retries have been exhausted. This can sometimes be successful for flakey tests when a refresh is not.

Checklist

timmywil commented 2 months ago

I accidentally broke worker restarts for when the browser fails the acknowledgement test. I've added a fix for it to #5440.