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

PYTHON-4882 Use shrub.py for enterprise auth tests #1945

Merged
merged 5 commits into from
Oct 18, 2024

Conversation

blink1073
Copy link
Member

@blink1073 blink1073 commented Oct 17, 2024

Also added a marker for auth so we're not running the full test suite.

Before: 12 tasks across 12 build variants
After: 7 tasks across 7 build variants

image

@@ -80,6 +82,7 @@ def run(self):


class TestGSSAPI(AsyncPyMongoTestCase):
pytestmark = pytest.mark.auth
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 put this once at the top of the file to mark the whole module rather than each class individually.

Copy link
Member Author

Choose a reason for hiding this comment

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

Cool, I didn't think that would work with unittest classes, updated.

Copy link
Member Author

Choose a reason for hiding this comment

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

@blink1073 blink1073 merged commit 021a9f7 into mongodb:master Oct 18, 2024
26 of 27 checks passed
@blink1073 blink1073 deleted the PYTHON-4882 branch October 18, 2024 13:57
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.

2 participants