Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

tests: add retry in metric check, make it more robust #103

Merged
merged 3 commits into from
Apr 15, 2019

Conversation

amyangfei
Copy link
Contributor

@amyangfei amyangfei commented Apr 8, 2019

What problem does this PR solve?

in all mode test, DM-worker is just restarted before checking metric, the metric may have not been updated in time.

What is changed and how it works?

add retry in metric check

Check List

Tests

  • Integration test

@amyangfei amyangfei added priority/unimportant Really minor change, requires approval from secondary reviewers type/qa relate to quality assurance status/PTAL This PR is ready for review. Add this label back after committing new changes type/test Changes related to test cases labels Apr 8, 2019
@amyangfei
Copy link
Contributor Author

PTAL @GregoryIan @csuzhangxc

Copy link
Member

@csuzhangxc csuzhangxc left a comment

Choose a reason for hiding this comment

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

rest LGTM

tests/README.md Outdated Show resolved Hide resolved
Copy link
Member

@csuzhangxc csuzhangxc left a comment

Choose a reason for hiding this comment

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

LGTM

@csuzhangxc csuzhangxc added status/LGT1 One reviewer already commented LGTM and removed status/PTAL This PR is ready for review. Add this label back after committing new changes labels Apr 9, 2019
@IANTHEREAL
Copy link
Collaborator

LGTM

@IANTHEREAL IANTHEREAL added status/LGT2 Two reviewers already commented LGTM, ready for merge and removed status/LGT1 One reviewer already commented LGTM labels Apr 15, 2019
@amyangfei amyangfei merged commit 8245cca into pingcap:master Apr 15, 2019
@amyangfei amyangfei deleted the metric-check-more-robust branch April 15, 2019 02:42
lichunzhu pushed a commit to lichunzhu/dm that referenced this pull request Apr 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority/unimportant Really minor change, requires approval from secondary reviewers status/LGT2 Two reviewers already commented LGTM, ready for merge type/qa relate to quality assurance type/test Changes related to test cases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants