Index: test/FilterEngine.cpp |
diff --git a/test/FilterEngine.cpp b/test/FilterEngine.cpp |
index 3244d42f4218e56fb63f2668f4503cb633e79cb9..dd80ab9f7844f6f0431a0f30cd352bcbc7748185 100644 |
--- a/test/FilterEngine.cpp |
+++ b/test/FilterEngine.cpp |
@@ -57,6 +57,11 @@ namespace |
jsEngine->SetLogSystem(AdblockPlus::LogSystemPtr(new LogSystem)); |
filterEngine = AdblockPlus::FilterEngine::Create(jsEngine); |
} |
+ void TearDown() override |
+ { |
+ // Workaround for issue 5198 |
+ std::this_thread::sleep_for(std::chrono::milliseconds(100)); |
+ } |
}; |
typedef FilterEngineTestGeneric<LazyFileSystem, AdblockPlus::DefaultLogSystem> FilterEngineTest; |