Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(test): fix test cleanup #1290

Merged
merged 1 commit into from
Jan 31, 2025
Merged

fix(test): fix test cleanup #1290

merged 1 commit into from
Jan 31, 2025

Conversation

alexcastilio
Copy link
Contributor

Description

When there's a failure in infra creation, t.Cleanup function is not called because it is registered after job's Run method is called.

Related Issue

If this pull request is related to any issue, please mention it here. Additionally, make sure that the issue is assigned to you before submitting this pull request.

Checklist

  • I have read the contributing documentation.
  • I signed and signed-off the commits (git commit -S -s ...). See this documentation on signing commits.
  • I have correctly attributed the author(s) of the code.
  • I have tested the changes locally.
  • I have followed the project's style guidelines.
  • I have updated the documentation, if necessary.
  • I have added tests, if applicable.

Screenshots (if applicable) or Testing Completed

Please add any relevant screenshots or GIFs to showcase the changes made.

Additional Notes

Add any additional notes or context about the pull request here.


Please refer to the CONTRIBUTING.md file for more information on how to contribute to this project.

Signed-off-by: Alex Castilio dos Santos <[email protected]>
@alexcastilio alexcastilio requested a review from a team as a code owner January 30, 2025 17:31
@alexcastilio alexcastilio requested a review from jimassa January 30, 2025 17:31
Copy link
Contributor

@ritwikranjan ritwikranjan left a comment

Choose a reason for hiding this comment

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

lgtm

@alexcastilio alexcastilio added this pull request to the merge queue Jan 30, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 30, 2025
@nddq nddq added this pull request to the merge queue Jan 31, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 31, 2025
@nddq nddq added this pull request to the merge queue Jan 31, 2025
Merged via the queue into main with commit bfcb063 Jan 31, 2025
28 checks passed
@nddq nddq deleted the alexcastilio/fix-e2e-test-runner branch January 31, 2025 04:44
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.

3 participants