Skip to content

test(NODE-5852): Skip transaction unpin spec tests #3980

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 6 commits into from
Feb 1, 2024

Conversation

aditi-khare-mongoDB
Copy link
Contributor

@aditi-khare-mongoDB aditi-khare-mongoDB commented Jan 25, 2024

Description

Skip transaction unpin tests related to a build failure.

What is changing?

Skip relevant tests.

Is there new documentation needed for these changes?

No.

What is the motivation for this change?

Build failure described in NODE-5852

  • Ran npm run check:lint script
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

@nbbeeken nbbeeken self-assigned this Jan 26, 2024
@nbbeeken nbbeeken added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Jan 26, 2024
'Client side error when transaction is in progress',

// TODO(NODE-5855): Unskip Transactions Spec Unified Tests mongos-unpin.unpin
'unpin after TransientTransactionError error on commit',
Copy link
Contributor

Choose a reason for hiding this comment

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

We discussed only skipping on latest, which is a smoke test anyway, these tests still pass for servers that are used in production, we can continue to make sure these work on those servers.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the reminder, I've changed it to skipped on latest.

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I meant I skipped it within the code.

@nbbeeken nbbeeken changed the title task(NODE-5852): Skip transaction unpin spec tests test(NODE-5852): Skip transaction unpin spec tests Jan 30, 2024
Copy link
Contributor

@nbbeeken nbbeeken left a comment

Choose a reason for hiding this comment

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

req for viz, CI shows the test still running

@aditi-khare-mongoDB
Copy link
Contributor Author

aditi-khare-mongoDB commented Feb 1, 2024

It seems 'when a new transaction is started' also occasionally fails on latest. I updated this PR and the corresponding ticket to include this test. At this point, I wonder if its safer to just skip all transaction unpin tests.

@aditi-khare-mongoDB
Copy link
Contributor Author

aditi-khare-mongoDB commented Feb 1, 2024

Just noticed 'Unpin when a non transaction user uses a session' is also flaky.

Copy link
Contributor

@nbbeeken nbbeeken left a comment

Choose a reason for hiding this comment

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

LGTM, I updated the unskip ticket to be blocked on the drivers work needed to fix these tests for latest.

@nbbeeken nbbeeken merged commit c6ac32c into main Feb 1, 2024
@nbbeeken nbbeeken deleted the NODE-5852/skip-transations-spec-pin-unpin-test branch February 1, 2024 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Primary Review In Review with primary reviewer, not yet ready for team's eyes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants