sparta-science / connect

Sparta Force plate Mac OS client
MIT License
6 stars 4 forks source link

Updates sometimes fail to download on background #67

Open paulz opened 4 years ago

paulz commented 4 years ago

Even with 2 minutes timeout:

UITests.UpdateAppTest testUpgradeOnQuit, Asynchronous wait failed: Exceeded timeout of 120 seconds, with unfulfilled expectations: "Expect predicate BLOCKPREDICATE(0x6000038a2190)". UpdateAppTest.swift:102

https://github.com/sparta-science/connect/runs/1024916012?check_suite_focus=true#step:6:522

https://github.com/sparta-science/connect/blob/c583044e8db8682218a6261b6776ee2efe9ff0a0/UITests/UpdateAppTest.swift#L98-L104

sparta-developers commented 4 years ago

Looks like even on the foreground slow downloads can fail the test: Screenshot_B7309DCB-763B-40C3-9FD9-54E117D8FC03 see https://github.com/sparta-science/connect/runs/1037106911?check_suite_focus=true#step:8:548

yuri-qualtie commented 4 years ago

research how to proxy download urls to local?