apache / cordova-ios

Apache Cordova iOS
https://cordova.apache.org/
Apache License 2.0
2.15k stars 987 forks source link

test for "versions.get_cocoapods_version" times out occasionally #1175

Closed raphinesse closed 2 years ago

raphinesse commented 2 years ago

Here's an example. On first glance it looks like promises are handled correctly.

Is there any reason why pod --version should take over 10s? Is there any downloading involved on first invocation? Can we avoid that?

raphinesse commented 2 years ago

Surprisingly, just testing pod --version by itself also shows a runtime of around 10s

raphinesse commented 2 years ago

It's not pod --version, but instead the first pod command that seems to be very slow: https://github.com/raphinesse/cordova-ios/runs/4095845841?check_suite_focus=true