Skip to content

PYTHON-4609 Speed up unified tests #1768

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 1 commit into from
Aug 2, 2024

Conversation

ShaneHarvey
Copy link
Member

PYTHON-4609

Explanation: The legacy test runner has this code:

class SpecRunner(IntegrationTest):
...
    @classmethod
    def _setup_class(cls):
...
        # Speed up the tests by decreasing the heartbeat frequency.
        cls.knobs = client_knobs(heartbeat_frequency=0.1, min_heartbeat_interval=0.1)
        cls.knobs.enable()

@ShaneHarvey ShaneHarvey marked this pull request as ready for review August 2, 2024 22:25
@ShaneHarvey
Copy link
Member Author

Tests are running quickly again, actually even a few minutes quicker than before.

@ShaneHarvey
Copy link
Member Author

Note the test failures are due to other issues, like: #1769

@ShaneHarvey ShaneHarvey requested a review from NoahStapp August 2, 2024 22:50
@ShaneHarvey ShaneHarvey merged commit 9c7adf8 into mongodb:master Aug 2, 2024
31 of 34 checks passed
@ShaneHarvey ShaneHarvey deleted the PYTHON-4609 branch August 3, 2024 01:18
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