From 03eaa94324902a88df9f1920e1138e6c7b09e8dc Mon Sep 17 00:00:00 2001 From: JRoberts <8711996+jr-simplex@users.noreply.github.com> Date: Sat, 14 May 2022 20:10:46 +0400 Subject: [PATCH] test: delay after mobile tests to fix SQLite IO error on Mac (#653) --- tests/Test.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/Test.hs b/tests/Test.hs index 5855fca88d..573465626a 100644 --- a/tests/Test.hs +++ b/tests/Test.hs @@ -1,6 +1,7 @@ import ChatClient import ChatTests -- import Control.Logger.Simple +import Control.Concurrent (threadDelay) import MarkdownTests import MobileTests import ProtocolTests @@ -15,6 +16,8 @@ main = do describe "SimpleX chat markdown" markdownTests describe "SimpleX chat protocol" protocolTests describe "Mobile API Tests" mobileTests + -- Workaround for SQLite IO error in first test after mobile tests on Mac + it "Delay after Mobile API Tests" $ threadDelay 100000 describe "SimpleX chat client" chatTests describe "Schema dump" schemaDumpTest