javascript - Issue with logging not working correctly when using retries in Mocha -
i have use case i'm testing on our network, , network takes little longer usual , test ends checking early. ideally, able set test retry this.retries(1). when that, indeed retry , works; however, breaks logging. i'm running lot of tests, , if don't use retry function logging each suite gets split appropriately. if test gets retried, stops splitting logs , located under 1 test suite. have no idea why , haven't been able find similar reports. appreciated.
instead of retrying can try timeouts because made this.
this may resolve issue timeouts make mocha wait more time before setting test failed doesn't change logs.
Comments
Post a Comment