Skip to content

Cleanup metadata tests#7105

Merged
dmcgowan merged 1 commit intocontainerd:mainfrom
mxpv:cleanup
Jun 27, 2022
Merged

Cleanup metadata tests#7105
dmcgowan merged 1 commit intocontainerd:mainfrom
mxpv:cleanup

Conversation

@mxpv
Copy link
Copy Markdown
Member

@mxpv mxpv commented Jun 27, 2022

This PR replaces func returns with t.Cleanup,
which makes tests slightly easier to maintain as
there is no need to call defer cancel() everywhere.

Signed-off-by: Maksym Pavlenko [email protected]

@mxpv mxpv added kind/test easy-to-review Easy to review labels Jun 27, 2022
Copy link
Copy Markdown
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@estesp
Copy link
Copy Markdown
Member

estesp commented Jun 27, 2022

might be easier to get a clean CI run with a rebase (for Windows flaky test)

This commit replaces func returns with t.Cleanup,
which makes API and tests slightly easier to maintain.

Signed-off-by: Maksym Pavlenko <[email protected]>
@mxpv
Copy link
Copy Markdown
Member Author

mxpv commented Jun 27, 2022

Yep, rebased.

@dmcgowan dmcgowan merged commit b76544b into containerd:main Jun 27, 2022
@mxpv mxpv deleted the cleanup branch June 27, 2022 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants