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

test: Deflake deprovisioning testing #203

Conversation

jonathan-innis
Copy link
Member

@jonathan-innis jonathan-innis commented Feb 4, 2023

Fixes #

Description

  • go triggerVerifyAction() was sometimes running after the test had completed. This meant that subsequent tests would trigger the verify action before they were expected, polluting the test
  • This PR adds a tracker to the sync.WaitGroup so that we wait for the triggerVerifyAction to complete before proceeding to the next test

How was this change tested?

make presubmit

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@coveralls
Copy link

coveralls commented Feb 4, 2023

Pull Request Test Coverage Report for Build 4098985287

  • 9 of 9 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.1%) to 78.68%

Totals Coverage Status
Change from base Build 4088627774: 0.1%
Covered Lines: 6281
Relevant Lines: 7983

💛 - Coveralls

@jonathan-innis jonathan-innis marked this pull request as ready for review February 5, 2023 23:28
@jonathan-innis jonathan-innis requested a review from a team as a code owner February 5, 2023 23:28
@jonathan-innis jonathan-innis merged commit d045564 into kubernetes-sigs:main Feb 10, 2023
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