Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[test] Disable logging thread
Browse files Browse the repository at this point in the history
some tests are counting the number of logs to determine pass/fail
so disable separate logging thread for them.
  • Loading branch information
Juha Alanen committed Mar 20, 2020
1 parent d9779a7 commit 1d336d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/src/mbgl/test/fixture_log_observer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1d336d2

Please sign in to comment.