Skip to content

Flaky test: attempt to fix TestConnection in go/test/endtoend/messaging#6879

Merged
deepthi merged 1 commit intovitessio:masterfrom
planetscale:rn-flaky-message_TestConnection
Oct 14, 2020
Merged

Flaky test: attempt to fix TestConnection in go/test/endtoend/messaging#6879
deepthi merged 1 commit intovitessio:masterfrom
planetscale:rn-flaky-message_TestConnection

Conversation

@rohitnayak
Copy link
Copy Markdown

There seems to be an intrinsic race in the message manager's TestConnection test due to the goroutine in stream.MessageStream. Added sleeps before validations to see if that will fix the flakiness.

Signed-off-by: Rohit Nayak rohit@planetscale.com

Signed-off-by: Rohit Nayak <rohit@planetscale.com>
@rohitnayak rohitnayak marked this pull request as ready for review October 14, 2020 15:53
@rohitnayak rohitnayak requested a review from sougou as a code owner October 14, 2020 15:53
Copy link
Copy Markdown
Collaborator

@deepthi deepthi left a comment

Choose a reason for hiding this comment

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

Let's merge this since tests are passing. We may need to revisit if it fails again.

@deepthi deepthi merged commit 8dba784 into vitessio:master Oct 14, 2020
@deepthi deepthi deleted the rn-flaky-message_TestConnection branch October 14, 2020 18:40
@deepthi deepthi mentioned this pull request Oct 15, 2020
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