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

ignore tombstone store. #1045

Merged
merged 1 commit into from
Sep 12, 2016
Merged

Conversation

huachaohuang
Copy link
Contributor

No description provided.

@siddontang
Copy link
Contributor

CI failed @BusyJay

@huachaohuang huachaohuang force-pushed the huachaohuang/ignore-tombstone-store branch from 910a3e4 to 5ca62a6 Compare September 9, 2016 02:31
@@ -133,3 +137,90 @@ impl StoreAddrResolver for MockStoreAddrResolver {
unimplemented!();
}
}

#[cfg(test)]
mod tests {
Copy link
Contributor

Choose a reason for hiding this comment

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

can we mock a PD server in pd mod, so we don't need to start a real PD server in CI test.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can mock PdClient for tests, and we already have a TestPdClient in tests/raftstore/pd.rs.

Copy link
Contributor

Choose a reason for hiding this comment

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

What I mean is not start PD server in travis CI for testing pd mod.

Copy link
Contributor

Choose a reason for hiding this comment

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

we can add fire an issue later if we can mock.

@siddontang
Copy link
Contributor

LGTM

1 similar comment
@BusyJay
Copy link
Member

BusyJay commented Sep 9, 2016

LGTM

@huachaohuang huachaohuang merged commit 0dfc68b into master Sep 12, 2016
@huachaohuang huachaohuang deleted the huachaohuang/ignore-tombstone-store branch September 12, 2016 02:10
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