I am trying to run a remote test on SauceLabs in Python. I am doing this to check if my credentials work.
I tried the example code but I get this error on my Sauce Labs UI:
New session request was cancelled before a Sauce Labs virtual machine was found For help, please check http://ift.tt/1KOTiaM
In those docs, I found this:
New session request was cancelled before a Sauce Labs VM was found
This means that your test runner decided to end the job before it had fully initialized on Sauce's end. There are a couple potential causes: You're running too many tests at a time. In your Account profile page, check the number of Concurrent VMs associated with your account. which is the maximum number of tests you can run at a time, based on your subscription level. If your account can run 2 concurrent VMs, and you're launching 10 tests, 8 will be "queued" until one of your tests finishes and a slot frees up. However, if this takes a long time, your test runner may choose to end the queued jobs after a few minutes instead of waiting. Just make sure you're launching a reasonable number of simultaneous tests for your account.
I have a feeling that it is caused because my account is closed due to inactivity?
Here is what I see:
So it seems like I have 30 Mac VMs to use so there is no way that I am running too many tests when I am running the "Getting Started" remote tests.
Aucun commentaire:
Enregistrer un commentaire