Skip to content

RUST-768 Pass versioned API parameters to getMore and transaction-continuing commands. #397

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

Merged
merged 5 commits into from
Jul 20, 2021

Conversation

abr-egn
Copy link
Contributor

@abr-egn abr-egn commented Jul 19, 2021

No description provided.

@@ -12,6 +12,10 @@ use super::run_unified_format_test;
#[cfg_attr(feature = "async-std-runtime", async_std::test)]
async fn run() {
let _guard: RwLockWriteGuard<_> = LOCK.run_exclusively().await;
// TODO RUST-734 Unskip these tests on sharded deployments.
if TestClient::new().await.is_sharded() {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we ought to localize this skip to the tests in transaction-handling.json, as we'll lose test coverage for versioned API on sharded clusters otherwise. Unfortunately there's not a great way to do this; we could add a skip conditional on the test description in the unified runner for the affected tests, or alternatively transaction-handling.json could be moved temporarily to a separate directory and be given its own run function.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good call; I went with a third option and added some variants to run_spec_test to allow filtering on filename.

@abr-egn abr-egn force-pushed the RUST-768/versioned-getMore branch from d2e9028 to c5d190e Compare July 20, 2021 14:58
@abr-egn abr-egn merged commit 6826e0c into mongodb:master Jul 20, 2021
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