Skip to content

[video_player] integration test is very flaky on iOS #86915

Closed
flutter/packages
#6899
@stuartmorgan-g

Description

@stuartmorgan-g

Recently we're having to re-run the build-ipas+drive_examples shard that contains the video_player plugin pretty frequently. I haven't gone back through logs, but I feel like it's been the last week or so where it's been really bad.

Example failing run: https://cirrus-ci.com/task/4561521528274944

flutter: 00:10 +8 ~1 -1: Some tests failed.
Failure Details:
Failure in method: test video player view with local asset
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞═════════════════
The following TestFailure object was thrown running a test:
  Expected: <true>
  Actual: <false>
When the exception was thrown, this was the stack:
#4      main.<anonymous closure>.<anonymous closure> (file:///private/var/folders/tn/f_9sf1xx5t14qm_6f83q3b840000gn/T/cirrus-ci-build/packages/video_player/video_player/example/integration_test/video_player_test.dart:222:7)
<asynchronous suspension>
<asynchronous suspension>
(elided one frame from package:stack_trace)
This was caught by the test expectation on the following line:
  file:///private/var/folders/tn/f_9sf1xx5t14qm_6f83q3b840000gn/T/cirrus-ci-build/packages/video_player/video_player/example/integration_test/video_player_test.dart line 222
The test description was:
  test video player view with local asset
═════════════════════════════════════════════════════════════════
end of failure 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: tests"flutter test", flutter_test, or one of our testsc: contributor-productivityTeam-specific productivity, code health, technical debt.c: flakeTests that sometimes, but not always, incorrectly passp: video_playerThe Video Player pluginpackageflutter/packages repository. See also p: labels.platform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions