Skip to content

Conversation

@utam0k
Copy link
Contributor

@utam0k utam0k commented Sep 14, 2022

Description

Fix a failed of this job

Related Issue(s)

Relates #12248

How to test

Run the test

Release Notes

NONE 

Documentation

Werft options:

  • /werft with-preview
@utam0k utam0k marked this pull request as ready for review September 15, 2022 11:10
Copy link
Contributor

@jenting jenting left a comment

Choose a reason for hiding this comment

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

I will not block this PR and see what's the nightly test result.

}

for _, ff := range ffs {
func() {
Copy link
Contributor

Choose a reason for hiding this comment

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

func() { } is redundant.

}

t.Cleanup(func() {
defer func() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps you could summarize when to use defer and when to use t.Cleanup.

@roboquat roboquat merged commit 6c669f7 into main Sep 15, 2022
@roboquat roboquat deleted the to/fix-test branch September 15, 2022 13:42
@loujaybee loujaybee added team: no-team Explicitly not a team related PR self-hosted team: workspace Issue belongs to the Workspace team and removed team: no-team Explicitly not a team related PR labels Sep 20, 2022
@roboquat roboquat added deployed: workspace Workspace team change is running in production deployed Change is completely running in production labels Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deployed: workspace Workspace team change is running in production deployed Change is completely running in production release-note-none self-hosted size/L team: workspace Issue belongs to the Workspace team

5 participants