wang-bin / fvp

Flutter video player plugin for all desktop+mobile platforms. download prebuilt examples from github actions. https://pub.dev/packages/fvp
BSD 3-Clause "New" or "Revised" License
197 stars 31 forks source link

[Linux] Integration tests are not connecting #108

Closed CaptainDario closed 4 months ago

CaptainDario commented 4 months ago

Describe the bug Since I added this package to my application the integration tests on ubunut 22 on GH actions do not connect. On the other platforms it still works. Are there any dependencies that need to be available on Linux?

Expected behavior The tests connect the same as before.

Log

[  +73 ms] executing: /opt/hostedtoolcache/flutter/stable-3.19.6-x64/bin/cache/dart-sdk/bin/dart test_driver/integration_test.dart -rexpanded
[+1058 ms] VMServiceFlutterDriver: Connecting to Flutter application at http://127.0.0.1:44807/hGcENHvnGpE=/
[ +113 ms] VMServiceFlutterDriver: Isolate found with number: 3298923920606883
[  +50 ms] VMServiceFlutterDriver: Isolate is paused at start.
[        ] VMServiceFlutterDriver: Attempting to resume isolate
[+5009 ms] VMServiceFlutterDriver: Flutter Driver extension is taking a long time to become available. Ensure your test app (often "lib/main.dart") imports "package:flutter_driver/driver_extension.dart" and calls enableFlutterDriverExtension() as the first call in main().
CaptainDario commented 4 months ago

Seems like it is something related to flutter driver, switching to integration_test makes it work