You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.
Sometimes (around every 20th time tests are run), the tests fail intermittently with the following error output:
There was 1 error:
---------
1) Failed to perform actions and see result in FooCept.php
[ErrorException] Undefined offset: 0
#1 /path/to/code/tests/vendor/psychomieze/sauceextension/extensions/sauce/SauceExtension.php:55
#2 /path/to/code/tests/vendor/psychomieze/sauceextension/extensions/sauce/SauceExtension.php:25
#3 /path/to/code/tests/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php:164
#4 /path/to/code/tests/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php:53
I'd guess it is a timing problem, the whole api is a bit fragile, if the test runs too fast or the connection is too slow getting the job name will fail.
Sometimes (around every 20th time tests are run), the tests fail intermittently with the following error output:
Relevant code links:
https://github.com/psychomieze/sauceExtension/blob/master/extensions/sauce/SauceExtension.php#L55
https://github.com/psychomieze/sauceExtension/blob/master/extensions/sauce/SauceExtension.php#L25
The text was updated successfully, but these errors were encountered: