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

raftstore: add split unit test #1742

Merged
merged 9 commits into from Apr 13, 2017
Merged

raftstore: add split unit test #1742

merged 9 commits into from Apr 13, 2017

Conversation

BusyJay
Copy link
Member

@BusyJay BusyJay commented Apr 7, 2017

add split check unit test cases.

@siddontang @hhkbp2 PTAL

@hhkbp2
Copy link
Contributor

hhkbp2 commented Apr 9, 2017

LGTM

@@ -125,13 +127,13 @@ pub struct Task {
}

impl Task {
pub fn new(ps: &PeerStorage) -> Task {
pub fn new(engine: Arc<DB>, region: &Region) -> Task {
Copy link
Contributor

Choose a reason for hiding this comment

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

is it better to move engine to the Runner field directly now?

@siddontang
Copy link
Contributor

LGTM

@siddontang
Copy link
Contributor

CI failed @BusyJay

@BusyJay BusyJay merged commit 3cf1bf7 into master Apr 13, 2017
@BusyJay BusyJay deleted the busyjay/split-check-test branch April 13, 2017 06:19
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.

None yet

3 participants