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

Refactor tests for rpc client #2558

Merged
merged 1 commit into from
Dec 7, 2017
Merged

Refactor tests for rpc client #2558

merged 1 commit into from
Dec 7, 2017

Conversation

huachaohuang
Copy link
Contributor

No description provided.

let regions = self.regions.lock().unwrap();

for region in regions.values() {
if key >= region.get_start_key() &&
Copy link
Member

Choose a reason for hiding this comment

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

Does it compatible with rocksdb's key comparator?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, after all, we use the same way to compare keys everywhere.

Copy link
Member

@overvenus overvenus left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@zhangjinpeng87 zhangjinpeng87 left a comment

Choose a reason for hiding this comment

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

LGTM

@huachaohuang
Copy link
Contributor Author

/run-all-tests

@huachaohuang
Copy link
Contributor Author

/run-all-tests

@huachaohuang huachaohuang merged commit 3590ebb into tikv:master Dec 7, 2017
@huachaohuang huachaohuang deleted the huachao/pd-tests branch December 7, 2017 03:33
sticnarf pushed a commit to sticnarf/tikv that referenced this pull request Oct 27, 2019
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