mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-05 04:24:21 +08:00
Increase assertion timeout on windows
This commit is contained in:
parent
2db261898f
commit
b5730b17aa
1 changed files with 3 additions and 1 deletions
|
@ -42,8 +42,10 @@ Livebook.Storage.insert(:settings, "global", autosave_path: nil)
|
|||
|
||||
erl_docs_available? = Code.fetch_docs(:gen_server) != {:error, :chunk_not_found}
|
||||
|
||||
windows? = match?({:win32, _}, :os.type())
|
||||
|
||||
ExUnit.start(
|
||||
assert_receive_timeout: 1_500,
|
||||
assert_receive_timeout: if(windows?, do: 2_500, else: 1_500),
|
||||
exclude: [
|
||||
erl_docs: erl_docs_available?,
|
||||
enterprise_integration: not Livebook.EnterpriseServer.available?()
|
||||
|
|
Loading…
Add table
Reference in a new issue