Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[to #67] setup backup/restore integration test for rawkv #82

Merged
merged 2 commits into from
Apr 6, 2022

Conversation

zz-jason
Copy link
Member

@zz-jason zz-jason commented Apr 2, 2022

Signed-off-by: Jian Zhang [email protected]

What problem does this PR solve?

Issue Number: [to #67]

Problem Description:

  1. there is no integration test to ensure e2e correctness
  2. the old integration test framework written in shell scripts are hard to understand and maintain

What is changed and how does it work?

  1. rewrote the integration test in python
  2. setup integration test in github action

Code changes

  • No code

Check List for Tests

This PR has been tested by at least one of the following methods:

  • Unit test
  • Integration test

Side effects

  • No side effects

Related changes

  • No related changes

@zz-jason zz-jason force-pushed the feature/setup-integration-test branch 4 times, most recently from 566bb96 to 1b7031b Compare April 6, 2022 04:44
Signed-off-by: Jian Zhang <[email protected]>
@zz-jason zz-jason force-pushed the feature/setup-integration-test branch from 1b7031b to 683eee3 Compare April 6, 2022 04:46
@zz-jason
Copy link
Member Author

zz-jason commented Apr 6, 2022

@pingyu @zeminzhou this pr is ready for review, PTAL. Thanks!

Copy link
Collaborator

@pingyu pingyu left a comment

Choose a reason for hiding this comment

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

LGTM~

# start tikv in apiv1ttl
/home/runner/.tiup/bin/tiup playground ${{ matrix.tikv_version }} --mode tikv-slim --kv 1 --without-monitor --kv.config /home/runner/work/migration/migration/.github/config/br_rawkv.toml --pd.config /home/runner/work/migration/migration/.github/config/br_pd.toml &> raw.out 2>&1 &
# The first run of `tiup` has to download all components so it'll take longer.
sleep 1m 30s
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe later we can find a way to detect whether tiup is done, to make CI more stable. As well as a better way to get the PD port, independent to the output message.

Copy link
Member Author

Choose a reason for hiding this comment

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

right.

@pingyu pingyu merged commit 2d13a80 into tikv:main Apr 6, 2022
@zz-jason zz-jason deleted the feature/setup-integration-test branch April 6, 2022 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants