-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
chore(build): enable mssql on travis #3327
Conversation
It looks like this passed but something went weird with the test run on node 10 and it timed out. |
Yeah, there is issue with mssql driver. Issue is reported and we are waiting to resolve. Will see in few days :-) |
@vlapo can you please provide more info - where issue is reported? btw, today I added CircleCI config, so we can also try to setup it as well. |
I think there is problem with unclosed connections in pool. Issue in mssql driver tediousjs/node-mssql#457 and in node-pool library coopernurse/node-pool#159. The latest mocha do not exit properly if there are unclosed connections or resources. There is simple workaround - adding Note: Just do not know why is this issue only with node v10. |
|
I still thinks that problem is in |
@vlapo are you able to track down what connections are left open that are preventing the process from exiting? I found for my test suites that maintaining a good record of connections and closing them was the solution, I didn't find any underlying issue with |
Have a logs provided in
As you can see there is established connection no. 4 and never destroyed. But this behaviour is not occur every time. In our large test suites it is almost every time but in different tests. I provided failing test case in |
@vlapo interesting - yeah, we work with a medium sized test suite and aren't seeing that problem itself, but I can see that if the pool has created a connection that hasn't established by the time |
@dhensby We have a some progress here. coopernurse/node-pool#159 (comment) I tested it on my local environment by replacing |
Let me update the deps on mssql, then :) |
Thank you guys! @vlapo do we use any api of new mssql that doesn't exist in 4.x? (Is it a breaking change for exist mssql users with 4.x installed?) |
I can release a 4.x update too, if you like - the change log for 5 is in the mssql repo - there is 1 config change that is different (forced on us by upgrading tedious version) but otherwise tried to keep everything BC |
4.3.1 tagged too :) |
ok, lets use stable 4.3.1 version instead 5.0.0-beta :-) |
Lets try travis with mssql. I want to see travis build and try rerun few times if it is stable.