From 4daa6baa202831779291587be04d88b5d5f1586c Mon Sep 17 00:00:00 2001 From: Juha Alanen Date: Fri, 20 Mar 2020 13:17:25 +0200 Subject: [test] Disable logging thread some tests are counting the number of logs to determine pass/fail so disable separate logging thread for them. --- test/src/mbgl/test/fixture_log_observer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/src/mbgl/test/fixture_log_observer.cpp b/test/src/mbgl/test/fixture_log_observer.cpp index d768c0284a..b27795abb4 100644 --- a/test/src/mbgl/test/fixture_log_observer.cpp +++ b/test/src/mbgl/test/fixture_log_observer.cpp @@ -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(observer)); + Log::useLogThread(false); } bool FixtureLog::empty() const { -- cgit v1.2.1