FirebirdSQL / firebird-qa

Python tools used for Firebird QA
https://firebirdsql.org/en/devel-qa/
MIT License
3 stars 6 forks source link

QA could hung when stopping trace session #23

Closed hvlad closed 3 months ago

hvlad commented 5 months ago

The problem was found when run few instances of QA concurrently.

The problem happens when code tries to stop existing trace session. To do it, it makes new connection to the services manager to run "Stop Trace Session" service. If that new connection can't be established by any reason, the 'trace_thread' left working and application (QA test) can't exit correctly.