[test] Disable logging thread

some tests are counting the number of logs to determine pass/fail
so disable separate logging thread for them.
This commit is contained in:
Juha Alanen
2020-03-20 13:17:25 +02:00
parent a67aaca56b
commit 4daa6baa20

View File

@@ -60,6 +60,7 @@ size_t FixtureLog::Observer::count(const Message& message, bool substring) const
FixtureLog::FixtureLog() : observer(new FixtureLogObserver(this)) {
Log::setObserver(std::unique_ptr<Log::Observer>(observer));
Log::useLogThread(false);
}
bool FixtureLog::empty() const {