wolf icon indicating copy to clipboard operation
wolf copied to clipboard

Mocha timeout

Open pitxels opened this issue 6 years ago • 2 comments

I was getting errors in the mocha test, so after some digging I found out that It was jus a timeout issue,

So I set the timeout globally in package.json like this:

"scripts": {
    "test": "mocha --timeout 10000 --recursive --exit",
    "start": "npm test && node ."
  },

And removed some specific timeouts in test/ticker.js and test/symbol.js

So that seems to work for me, but I don't know if this is change that we want in the code.....

pitxels avatar May 26 '18 21:05 pitxels

Hi @pitxels,

The binance websocket takes longer sometimes to initialize. Something like this is necessary. Let's keep this issue open and see if anyone else has advice/input. If you wanted to make this a pull request for better visibility i would love to have it considered to be merged in v3.5.0!

austinyearlykim avatar May 27 '18 19:05 austinyearlykim

I dont know if this would help or if it has anything to do with it, but you can download NetTime 3.14. It syncs your time clock.

Orbitalz-eth avatar May 27 '18 21:05 Orbitalz-eth