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:
parent
6136ea0921
commit
695d280f50
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user