Skip to content

refactor: use testing context for port configuration - #352

Open
tenthirtyam wants to merge 1 commit into
hashicorp:mainfrom
tenthirtyam:refactor/use-testing-context-for-port-configuration
Open

refactor: use testing context for port configuration#352
tenthirtyam wants to merge 1 commit into
hashicorp:mainfrom
tenthirtyam:refactor/use-testing-context-for-port-configuration

Conversation

@tenthirtyam

Copy link
Copy Markdown

Description

Replaced manual context cancellation with t.Context because it is cancelled automatically when the test ends.

Resolved Issues

Keep the context lifecycle tied to the test and remove redundant cleanup.

Rollback Plan

Revert commit.

Changes to Security Controls

None.

Replaced manual context cancellation with `t.Context` because it is cancelled automatically when the test ends.

Keeps the context lifecycle tied to the test and removing redundant cleanup.

Signed-off-by: Ryan Johnson <ryan@tenthirtyam.org>
@tenthirtyam
tenthirtyam requested a review from a team as a code owner July 24, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant