Project: datamanagement
Issue DM-4705: qdisp/testQDisp fails with mariadb
Fabrice fried to build qserv with mariadb and it caused failure in one of the unit test: qdisp/testQDisp with the message: {noformat} pure virtual method called terminate called without an active exception {noformat} Runnig it with GDB it' obvious that there is a problem with resource lifetime management in qdisp/testQDisp.cc. The problem is that XrdSsiSessionMock is destroyed sooner than other objects that use it. One way to resolve this problem is to instantiate XrdSsiSessionMock earlier than other objects that use it (to reverse the order of destructors), possibly make it a global instance. Big mystery here is how mariadb could trigger this interesting behavior and why did not we see this earlier.
Story points: 1