Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

[ErrorException] Undefined offset: 0 #3

Open
motin opened this issue Jun 2, 2014 · 3 comments
Open

[ErrorException] Undefined offset: 0 #3

motin opened this issue Jun 2, 2014 · 3 comments

Comments

@motin
Copy link
Contributor

motin commented Jun 2, 2014

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

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

@mrfelton
Copy link

Also seeing this

@susannemoog
Copy link
Owner

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.

@vistiyos
Copy link

Also seeing this issue recently, is there any plan to fix that, or may I provide a solution for this issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants