It was using a complex mix of condition variables, mutexes, synchronization stuff that was completely unneeded, and for some reason this made the test lock up when ran on old Linux distros like RHEL 8 or Ubuntu 20.10. This should fix the build failures in the Launchpad PPA.
Cherry-picked from #1070, as it is taking a while to get merged.
It was using a complex mix of condition variables, mutexes, synchronization stuff that was completely unneeded, and for some reason this made the test lock up when ran on old Linux distros like RHEL 8 or Ubuntu 20.10. This should fix the build failures in the Launchpad PPA.
Cherry-picked from #1070, as it is taking a while to get merged.