Skip to content

[camera] camera integration test bit rate test fails #194395

Closed
flutter/packages
#13291

Description

@hellohuanlin
  1. Follow these steps to run integration test for camera plugin
  2. Observe one of the test failure: this test.

Details: This test verifies higher bit rate having larger size. The test may pass or fail depending on how I put my iPhone on the table. More context: #191202 (comment)

We should also remove the equivalent tests from other platforms (e.g. the android equivalent tests currently just check size > 0), which isn't helpful.

Based on the commit history, Android used to do the same test as iOS, but later changed to size > 0 to pass the CI. Note that it still leaves for (var n = 0; i < lengths.length-1; n++) - the -1 bound only made sense when comparing length[n] against length[n+1].

On iOS, since we run on simulator on CI, so the test returned early on if (cameras.isEmpty) return;

Activity

  1. self-assigned this
    on Oct 14, 2026
  2. github-actions commented on Oct 31, 2026

    @github-actions

    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 flutter doctor -v and a minimal reproduction of the issue.

  3. locked as resolved and limited conversation to collaborators on Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

fyi-ecosystemFor the attention of Ecosystem teamp: cameraThe camera pluginplatform-iosiOS applications specificallyteam-iosOwned by iOS platform team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions