Skip to content

Conversation

lk-naath
Copy link
Contributor

@lk-naath lk-naath commented May 15, 2025

Added pytest configuration to enable parallel test execution and disable logging during tests for faster and cleaner test runs.

Motivation and Context

Running tests sequentially was causing longer test suite execution times, slowing down development and CI feedback. Enabling parallel test runs with multiple workers improves overall testing speed and efficiency.

How Has This Been Tested?

Tests were run locally with the new configuration enabled. Verified that:

  • Tests execute in parallel across 4 processes.
  • Logging output is disabled during test runs.

Breaking Changes

No breaking changes. This update only affects how tests are executed, not the application code or configurations.

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally

Additional context

Uses pytest-xdist plugin for parallel test execution with --numprocesses 4
Disables logging during tests to reduce noise and improve test output clarity.

@lk-naath lk-naath closed this May 16, 2025
@lk-naath lk-naath reopened this May 16, 2025
@lk-naath lk-naath closed this May 16, 2025
gspencergoog pushed a commit to gspencergoog/mcp-python-sdk that referenced this pull request Jul 29, 2025
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