Skip to content

In testset, use a counter for successes, rather than keeping an array of objects #20137

@Keno

Description

@Keno

I'm about to fix the crash in #20107, however, it still runs out of memory, albeit a bit later. This is because the test system keeps a Test object for every successful test, which accumulate and take up a large amount of memory. For succesful tests, a simple counter would be sufficient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedIndicates that a maintainer wants help on an issue or pull requesttestsystemThe unit testing framework and Test stdlib

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions