Skip to content

test: Enhanced running in unstable environments#12966

Merged
roboquat merged 3 commits into
mainfrom
to/fix-test
Sep 15, 2022
Merged

test: Enhanced running in unstable environments#12966
roboquat merged 3 commits into
mainfrom
to/fix-test

Conversation

@utam0k

@utam0k utam0k commented Sep 14, 2022

Copy link
Copy Markdown
Contributor

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 commented Sep 15, 2022

Copy link
Copy Markdown
Contributor Author

@utam0k
utam0k marked this pull request as ready for review September 15, 2022 11:10

@jenting jenting left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants