-
Notifications
You must be signed in to change notification settings - Fork 6
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
Failing tests #18
Comments
A number of tests have been failing since before my last spurt of work in December. I don't recall how many precisely, but I just re-ran the test suite on We had some discussion about this previously, and I opened issue #7 in particular. All failing tests on The |
Thanks. Seems first step is pulling in your merge request and then working backwards to fix the other problems. I will work on that. |
Let me know what you want to take on. I can probably find some time to jump back in and help whip everything into shape. And I think I might have some additional changes in my fork or a local repo. |
Re-posting here after mistakenly creating a new issue. Here's the run-down on the test failures. These look like they're be straightforward to fix: There are seven tests that consistently fail right now, all related to REST API calls. All of these tests also failed before the dependency set update. One failure is an error parsing into the Five of the other six test failures are HTTP 400 "Bad Request": "OrderValidation" errors, and the sixth ( One or two other tests sometimes fail for me due to rate limiting. The docs show that the rate limit for public endpoints is three calls per second, so these tests are in fact likely to get rate-limited sometimes if we're not explicitly delaying them (are we?). Our tests must be strangely slow for this not to happen more often if we're not delaying the calls. I'll get to work on this tomorrow, probably, unless you want to tackle it before then, @dimitri-xyz. |
…ntLedger` test; see dimitri-xyz#18.
I looked at the six tests that all fail because the sandbox server doesn't like the orders we're submitting. The requests we're sending look fine to me, and nothing in the order-submission process has changed, so far as I can tell from the documentation. Google shows a StackOverflow question citing the I suspect this is something screwy going on with the sandbox server, which seems to happen from time to time. I emailed Coinbase Pro support about it; we'll see if I get a response. I'll create a PR momentarily to fix the failing |
After following up with Coinbase support to provide a detailed example of an order-submission request that results in a successful order placement on the live server but an The tests still fail on the sandbox server. So much for that. |
Oh, and to be clear I did debug this pretty thoroughly and noticed nothing wrong with our HTTP requests encoding order submissions. In a couple of test examples, the live server accepted order submissions that were identical up to the necessary differences in URL and authentication headers. I don't think authentication is the issue, as other authenticated calls work on the sandbox server. In short, I'm fairly confident the problem is on Coinbase's end, which makes this rather frustrating. A sandbox server that behaves differently from the live server and is simply broken for long periods is more trouble than it's worth. One last thing: there two diverging code paths for making REST API calls against the live server and sandbox server, |
It seems updates to the Coinbase Pro API have broken many tests. I only see the first 10 of 21 tests passing right now.
The text was updated successfully, but these errors were encountered: