Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add check for test that errors before even starting a job #224

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rubensayshi
Copy link

fixes #177

when saucelabs cant start a job for a test it will error with:

{ completed: false,
  'js tests': 
   [ { status: 'test error',
       platform: [Object],
       id: '7c738f49617046b79f6d3660c0668053',
       job_id: 'job not ready' } ] }

this should be caught because atm it's causing an infinite loop until canceled (with attempts is set to -1).

this likely occurs when you're trying to specific a platform / version that saucelabs doesn't have, for example I ran into this with:

{
        browserName: 'firefox',
        platform: 'Linux',
        version: '47'
}

unfortunately I can't really figure out how your tests are being ran, so can;'t add a test for this :(

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

Successfully merging this pull request may close these issues.

Saucelabs errors sometimes not reported
1 participant