Skip to content

fix: test failures#1302

Closed
stevenh wants to merge 1 commit intostretchr:masterfrom
stevenh:fix/test-failures
Closed

fix: test failures#1302
stevenh wants to merge 1 commit intostretchr:masterfrom
stevenh:fix/test-failures

Conversation

@stevenh
Copy link
Contributor

@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.

2 participants