Turns out, the hanging nodejs process in the mocha test suit using mariadb is a connection created by making a "default" connection using the deprecated global functions form TypeOrm.
The ones creating using the AppDataSource can simply be closed using '.destory()'. The fix therefore is to migrate all the services to use their own manager, or the global AppDataSource manager.
Turns out, the hanging nodejs process in the mocha test suit using mariadb is a connection created by making a "default" connection using the deprecated global functions form TypeOrm.
The ones creating using the AppDataSource can simply be closed using '.destory()'. The fix therefore is to migrate all the services to use their own manager, or the global AppDataSource manager.
See #291 for the tests and results.
Should also help with #289