Skip to content
This repository was archived by the owner on Nov 25, 2025. It is now read-only.
This repository was archived by the owner on Nov 25, 2025. It is now read-only.

Remove utilstest.NewTestContext it favor of t.Context() #1412

@alarso16

Description

@alarso16

Since the introduction of t.Context() in go1.24, we don't need any additional helpers to have a context that is canceled just before Cleanup-registered functions are called.

Check discussion here: #1411 (comment)_

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions