-
Notifications
You must be signed in to change notification settings - Fork 26.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flutter drive: Cannot set timeout on GetHealth command #23857
Comments
The global timeout multiplier proposed by @yjbanov in #14732 would be a good solution. This would allow developers to run their integration tests on the cloud in linux (and Mac/Windows). That would then make it possible to automate deployment to both stores from the cloud using something like Fastlane. That would enable a very cost effective CICD solution for Flutter. I was planning on setting up a demo of a complete CICD solution for Flutter on Travis (and maybe then on other CI vendors). Being able to manage all driver timeouts would make this possible. |
PR is out for review #24066 |
I'm now getting timeouts on ios (which I haven't seen before) even though it is succeeding on android. It may be an interim issue with master, or could be related to this fix. Not clear. |
Everything is working fine now on beta v0.11.7 |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
I am using the default counter app to set-up integration testing on TravisCI. I am running the android emulator on linux and the ios simulator on mac. The default integration test passes on mac/ios/simulator but fails on linux/android/emulator.
The android emulator is getting a timeout on the driver's GetHealth command when running on Travis (no hardware acceleration, graphics in software). The weird thing is tests from other projects are getting past this health check and completing successfully (when timeouts added where permitted). But when I run the default counter app integration test it times out on the GetHealth command.
This is the test:
and the resulting timeout:
Here is the same line in the build on travis.
I tried increasing timeouts wherever I could, but the GetHealth time out is unaffected.
Is there a way to fix this? I suspect it would pass if I could add a timeout to GetHealth, but there might be another way.
Here is the complete source code:
https://github.com/mmcc007/flutter_app/tree/f2738cfd44802e51ab2d47c0824b096ab57617f8
and the build on travis showing it working on ios but failing on android:
https://travis-ci.org/mmcc007/flutter_app/builds/449653234
The text was updated successfully, but these errors were encountered: