Skip to content

flutter test fails to clean up if the process is interrupted #51429

Closed

Description

@dnfield

The easiest way to reproduce this is to run flutter test --start-paused path\to\test.dart, wait for it to generate its temp files, and hit ctrl+C

This leaks files into the temp directory, which can get pretty full.

Related to #51421

Activity

  1. added
    a: tests"flutter test", flutter_test, or one of our tests
    toolAffects the "flutter" command-line tool. See also t: labels.
    on Feb 25, 2020
  2. jonahwilliams commented on Feb 25, 2020

    @jonahwilliams
    Contributor

    Possibly related: #4875

  3. added
    a: qualityA truly polished experience
    P2Important issues not at the top of the work list
    on Aug 3, 2020
  4. added
    c: flakeTests that sometimes, but not always, incorrectly pass
    team-toolOwned by Flutter Tool team
    triaged-toolTriaged by Flutter Tool team
    on Jul 7, 2023
  5. added a commit that references this issue on Mar 15, 2024
  6. added a commit that references this issue on Mar 15, 2024
  7. github-actions commented on Jul 11, 2025

    @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.

  8. locked as resolved and limited conversation to collaborators on Jul 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: qualityA truly polished experiencea: 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 passteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions