Skip to content

Add Sleep to ERS Unit Test#6610

Merged
deepthi merged 4 commits intovitessio:masterfrom
planetscale:fix-test-race
Aug 24, 2020
Merged

Add Sleep to ERS Unit Test#6610
deepthi merged 4 commits intovitessio:masterfrom
planetscale:fix-test-race

Conversation

@PrismaPhonic
Copy link
Copy Markdown
Contributor

@PrismaPhonic PrismaPhonic commented Aug 21, 2020

This PR adds a sleep in an ERS unit test to insure background goroutines have time to fully finish under their supplied deadlines.

…auntees we have waited. This helps to ensure that RPCs given a timeout have been given adequate time to conclude, if they are running in background goroutines intentionally.

Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>
@PrismaPhonic PrismaPhonic requested review from deepthi and sougou August 21, 2020 19:48
Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>
…self.

Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>
Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>
@PrismaPhonic PrismaPhonic changed the title Tests: Add Optional Wait Timeout to Runner Add Sleep to ERS Unit Test Aug 22, 2020
@deepthi deepthi merged commit 2569c64 into vitessio:master Aug 24, 2020
@askdba askdba added this to the v8.0 milestone Oct 6, 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