Fix flakey vstream metrics test#18287
Conversation
Signed-off-by: twthorn <thomaswilliamthornton@gmail.com>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
|
Ugh a bunch of tests are still failing. You will need to look into them. |
|
@deepthi It seems like failures are from other flakey tests in the repo. I only changed this vstream_manager test file. If this test were the issue, I would expect to see vstream_manager_test failing, but none of them show this test failing. For example End to End Test (Race): I also noticed that lots of other PRs have a similar set of tests failing. I cannot trigger a rerun of the failing ones, but if they are flakey maybe they just need to be reran? If I can be granted rerun permissions I would try that. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #18287 +/- ##
==========================================
- Coverage 67.46% 67.46% -0.01%
==========================================
Files 1602 1602
Lines 262245 262245
==========================================
- Hits 176930 176917 -13
- Misses 85315 85328 +13 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
We have an auto-retry bot for flaky tests that had stopped running. I fixed that and now it looks like those tests are passing now. I will merge this once all tests pass. |
|
@rohit-nayak-ps thanks for adding the reruns back I only see We only changed vstream_manager test file, this would not affect vtgate query path. Can we merge it anyways, or can we rerun this test till it passes? Seems quite flakey |
Signed-off-by: Thomas Thornton <tthornton@salesforce.com>
* VStream: Add flag to support copying only specific tables (vitessio#18184) Signed-off-by: Thomas Thornton <tthornton@salesforce.com> * Add a flag to vstream to exclude keyspace from table name (vitessio#18274) Signed-off-by: Thomas Thornton <tthornton@salesforce.com> * Fix flakey vstream metrics test (vitessio#18287) Signed-off-by: Thomas Thornton <tthornton@salesforce.com> * Add support for sending grpc server backend metrics via ORCA (vitessio#18282) Signed-off-by: Thomas Thornton <tthornton@salesforce.com> * VStream: Try new tablet on purged binlog error (vitessio#18710) Signed-off-by: twthorn <thomaswilliamthornton@gmail.com> * Run go mod tidy Signed-off-by: Thomas Thornton <tthornton@salesforce.com> * Run go fmt Signed-off-by: Thomas Thornton <tthornton@salesforce.com> * Regenerate proto files Signed-off-by: Thomas Thornton <tthornton@salesforce.com> * Fix sorting of --grpc-enable-orca-metrics flag Signed-off-by: Thomas Thornton <tthornton@salesforce.com> * Fix ordering of -grpc-enable-orca-metrics in vtcombo.txt Signed-off-by: Thomas Thornton <tthornton@salesforce.com> --------- Signed-off-by: Thomas Thornton <tthornton@salesforce.com> Signed-off-by: twthorn <thomaswilliamthornton@gmail.com> Co-authored-by: Noble Mittal <62551163+beingnoble03@users.noreply.github.com> Co-authored-by: Tanjin Xu <109303790+tanjinx@users.noreply.github.com>
* VStream: Add flag to support copying only specific tables (vitessio#18184) Signed-off-by: Thomas Thornton <tthornton@salesforce.com> * Add a flag to vstream to exclude keyspace from table name (vitessio#18274) Signed-off-by: Thomas Thornton <tthornton@salesforce.com> * Fix flakey vstream metrics test (vitessio#18287) Signed-off-by: Thomas Thornton <tthornton@salesforce.com> * Add support for sending grpc server backend metrics via ORCA (vitessio#18282) Signed-off-by: Thomas Thornton <tthornton@salesforce.com> * VStream: Try new tablet on purged binlog error (vitessio#18710) Signed-off-by: twthorn <thomaswilliamthornton@gmail.com> * Run go mod tidy Signed-off-by: Thomas Thornton <tthornton@salesforce.com> * Run go fmt Signed-off-by: Thomas Thornton <tthornton@salesforce.com> * Regenerate proto files Signed-off-by: Thomas Thornton <tthornton@salesforce.com> * Fix sorting of --grpc-enable-orca-metrics flag Signed-off-by: Thomas Thornton <tthornton@salesforce.com> * Fix ordering of -grpc-enable-orca-metrics in vtcombo.txt Signed-off-by: Thomas Thornton <tthornton@salesforce.com> --------- Signed-off-by: Thomas Thornton <tthornton@salesforce.com> Signed-off-by: twthorn <thomaswilliamthornton@gmail.com> Co-authored-by: Noble Mittal <62551163+beingnoble03@users.noreply.github.com> Co-authored-by: Tanjin Xu <109303790+tanjinx@users.noreply.github.com>
* VStream: Add flag to support copying only specific tables (vitessio#18184) Signed-off-by: Thomas Thornton <tthornton@salesforce.com> * Add a flag to vstream to exclude keyspace from table name (vitessio#18274) Signed-off-by: Thomas Thornton <tthornton@salesforce.com> * Fix flakey vstream metrics test (vitessio#18287) Signed-off-by: Thomas Thornton <tthornton@salesforce.com> * Add support for sending grpc server backend metrics via ORCA (vitessio#18282) Signed-off-by: Thomas Thornton <tthornton@salesforce.com> * VStream: Try new tablet on purged binlog error (vitessio#18710) Signed-off-by: twthorn <thomaswilliamthornton@gmail.com> * Run go mod tidy Signed-off-by: Thomas Thornton <tthornton@salesforce.com> * Run go fmt Signed-off-by: Thomas Thornton <tthornton@salesforce.com> * Regenerate proto files Signed-off-by: Thomas Thornton <tthornton@salesforce.com> * Fix sorting of --grpc-enable-orca-metrics flag Signed-off-by: Thomas Thornton <tthornton@salesforce.com> * Fix ordering of -grpc-enable-orca-metrics in vtcombo.txt Signed-off-by: Thomas Thornton <tthornton@salesforce.com> --------- Signed-off-by: Thomas Thornton <tthornton@salesforce.com> Signed-off-by: twthorn <thomaswilliamthornton@gmail.com> Co-authored-by: Noble Mittal <62551163+beingnoble03@users.noreply.github.com> Co-authored-by: Tanjin Xu <109303790+tanjinx@users.noreply.github.com>
Description
I noticed this test was causing code coverage failures in some other PRs (eg 1, 2) so put out a PR for the fix
We can see it passes
Reviewed failing tests, none are from vstream_manager_test.go which is the only file changed in this PR. They seem to be unrelated & flakey and are failing on other PRs.
Related Issue(s)
Checklist
Deployment Notes