jeudi 1 décembre 2016

Meanjs mocha tests failing with timeout error

I am developing a backend service using meanjs.org scaffold. I have written around 1700 tests and they were working fine. But now, tests just started to act weird. Suddenly a lot of tests fails with error:

 Error: timeout of 10000ms exceeded. Ensure the done() callback is being called in this test.

Callback done() is being called so this is not the problem. The tests were working all the time but now they don't want to work any more. I tried to drop the mongo database, to stop and start mongod process but nothing works.

Did anyone have the same problem of tests not working from time to time?

Aucun commentaire:

Enregistrer un commentaire