Closed drewbailey closed 8 years ago
Oh, thanks! Good catch.
You used to be able to disable the REST call by passing in an explicit number of threads, but it looks like that's not the case currently.
I'm not that familiar with Webmock; Does the DISABLE_WEBMOCK
value get set by Webmock or would the end user have to set it? Would it be valid to always disable webmock for this call?
@DylanLacey I can try passing an explicit number of threads, that might be cleaner than this. DISABLE_WEBMOCK
is just an environment variable I came up with, it has nothing to do with WebMock other than it being a flag a user would pass in to call WebMock.disable!
The rake task for running parallel tests is reaching out to sauce labs to find the Limit number of VMs allowed before WebMock.disable! is being called in our env.rb file. This was a work around to allow us to disable WebMock at the task level.
Is there a better way to go about solving this? If so I am happy to help implement it. I can also update the readme if you are ok with this as a solution.