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 failures #1302

Closed
wants to merge 1 commit into from
Closed

Conversation

stevenh
Copy link

@stevenh stevenh commented Nov 13, 2022

Summary

Fix random test failure and compatibility with go test -count=X where X > 1.

Changes

  • Fix random failure TestEventuallyIssue805 due to timing dependency.
  • Fix TestFailfastSuite when run with go test flag -count=X where X > 1.

Motivation

So we don't get false test failures causing confusion.

Fix random failure TestEventuallyIssue805 due to timing dependency.

Fix TestFailfastSuite when run with go test flag -count=X where X
greater than 1.
@stevenh stevenh marked this pull request as ready for review November 15, 2022 23:32
@dolmen
Copy link
Collaborator

dolmen commented Jul 12, 2023

Two unrelated changes in a single commit. This can't be merged as is. Commits across multiple packages should have a good reason, and this is not a good case.

I also have independently written a fix for TestEventuallyIssu805 but not just by increasing delay. Could you review #1412?

Please submit the change about the suite package as a separate MR.

@dolmen dolmen closed this Jul 12, 2023
@dolmen dolmen added test pkg-assert Change related to package testify/assert pkg-suite Change related to package testify/suite labels Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg-assert Change related to package testify/assert pkg-suite Change related to package testify/suite test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants