1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 01:47:01 +03:00

bump up the cancelable parsing timeout

This commit is contained in:
Patrick Thomson 2018-07-13 15:15:10 -04:00
parent 6136ea0921
commit 695d280f50

View File

@ -83,11 +83,11 @@ spec = parallel $ do
TS.ts_parser_loop_until_cancelled p nullPtr nullPtr 0
pure True
res <- timeout 1500 (wait churn)
res <- timeout 2500 (wait churn)
res `shouldBe` Nothing
TS.ts_parser_set_enabled p (CBool 0)
done <- timeout 1500 (wait churn)
done <- timeout 2500 (wait churn)
done `shouldBe` (Just True)