You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ok,
Thanks for the info. My guess would be that placement of the orders within createHiddenOrder starts an asynchronous call for order placement. While this is going on your return and start the checkCancelServerSideOrder, but the order may not yet be placed. Once you cascade a few of these buy and sells in succession, one of the orders actually triggers hence the difference being similar to your order sizes.
To check you could change all the amounts for each test by an order of magnitude and then when you see the error is the difference between two of them, that would be the problem. To fix it, I would imagine you need to wrap the order in a promise for completion so you know one order is complete before moving to the check etc.
* -Fix for #810, wrong message on soft trailing stop.
* -updated orko-parent snapshots
* -Changed the Xchange version from the 5.0.0-SNAPSHOT to 5.0.0
* Commented out Hidden Order integration tests
* -Potential fix for 'Hidden orders' test failure
Describe the bug
Running the integration tests via circleci fails on Hidden Order Integration tests. See: https://app.circleci.com/pipelines/github/AwooOOoo/orko/3/workflows/dae1b184-9074-4394-bc03-b06af97a4728/jobs/4/steps
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Commented out the 4 integration tests for the time being and the pipeline is now successful
The text was updated successfully, but these errors were encountered: