Skip to content

[video_player] testAudioOnlyHLSControls is very flaky in CI #164381

@stuartmorgan-g

Description

@stuartmorgan-g

This test has strange flake patterns; it will be fine for a while, and then fail much more frequently for a while. It's one of the tests that relies on actual network communication instead of a local server, which may be the problem, but it's not clear.

An example failure:

.../video_player/video_player_avfoundation/darwin/RunnerTests/VideoPlayerTests.m:731: error: -[VideoPlayerTests testAudioOnlyHLSControls] : Asynchronous wait failed: Exceeded timeout of 30 seconds, with unfulfilled expectations: "initialized".
.../video_player/video_player_avfoundation/darwin/RunnerTests/VideoPlayerTests.m:604: error: -[VideoPlayerTests testAudioOnlyHLSControls] : ((videoInitialization[@"height"]) equal to (@0)) failed: ("(null)") is not equal to ("0")
.../video_player/video_player_avfoundation/darwin/RunnerTests/VideoPlayerTests.m:605: error: -[VideoPlayerTests testAudioOnlyHLSControls] : ((videoInitialization[@"width"]) equal to (@0)) failed: ("(null)") is not equal to ("0")
.../video_player/video_player_avfoundation/darwin/RunnerTests/VideoPlayerTests.m:606: error: -[VideoPlayerTests testAudioOnlyHLSControls] : (([videoInitialization[@"duration"] intValue]) equal to (4000) +/- (200)) failed: ("0") is not equal to ("4000") +/- ("200")
Test Case '-[VideoPlayerTests testAudioOnlyHLSControls]' failed (30.124 seconds).

I'm going to disable it pending investigation into why it's flaking, since it sometimes blocks the tree.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: 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 specificallyplatform-macBuilding on or for macOS specificallyteam-iosOwned by iOS platform teamteam: skip-testAn issue used to track tests that are skipped.triaged-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