Skip to content

[flutter_tools] When running tool tests locally, test failures sometimes cause the runner to hang #141823

@christopherfujino

Description

@christopherfujino

Specifically, for tests with the testUsingContext wrapper, a test failure will cause the runner to hang until it's timed out after 15 minutes. Consider this minimal test:

import '../src/common.dart';
import '../src/context.dart';

void main() {
  testUsingContext('trivial test', () {
    fail('failure');
  });
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listteam-toolOwned by Flutter Tool team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions