AliSoftware / OHHTTPStubs

Stub your network requests easily! Test your apps with fake network data and custom response time, response code and headers!
MIT License
5.03k stars 601 forks source link

Disabling troublesome unit test. #298

Closed jeffctown closed 5 years ago

jeffctown commented 5 years ago

Checklist

Motivation and Context

Updates according to #230 .

AliSoftware commented 5 years ago

Just dequeuing my notifications rn, I see you have decided to not merge this but just FYI if we were to fail to find a solution and decided to indeed disable the test for CI to be more reliable, I'd at least do it the same way I did for timing tests: wrap them in a big #if condition which would default to true, and make it false on CI by injecting the build setting during rake invocation on CI (see DISABLE_TIMING_TESTS or whatever I called that #if)