Skip to content

Conversation

stastnypremysl
Copy link

@stastnypremysl stastnypremysl commented Jul 23, 2025

  • Add it to the Makefile and CI/CD pipeline
  • Add tmp_path isolation for catalog including tests to prevent shared directory race conditions
  • Add xdist_group markers to database integration tests to prevent race conditions
  • Make dydx execution test deterministic by using fixed UUID instead of random (precondition for parallel pytest-xdist to work)

Type of change

  • Bug fix (non-breaking)
  • New feature (non-breaking)
  • Breaking change (impacts existing behavior)
  • Documentation update
  • Maintenance / chore

- Add it to the Makefile and CI/CD pipeline
- Add tmp_path isolation for catalog including tests to prevent
  shared directory race conditions
- Add xdist_group markers to database integration tests to prevent
  race conditions
- Make dydx execution test deterministic by using fixed UUID instead
  of random (precondition for parallel pytest-xdist to work)
- Refactor setup_catalog to require a path argument
Copy link
Member

@cjdsellers cjdsellers left a comment

Choose a reason for hiding this comment

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

Thanks @stastnypremysl, there's some nice improvements here and should reduce test suite run times.

@cjdsellers cjdsellers merged commit 4a4a72a into nautechsystems:develop Jul 25, 2025
13 checks passed
@faysou
Copy link
Collaborator

faysou commented Jul 26, 2025

It runs much faster now, thank you

Bshara23 pushed a commit to Bshara23/nautilus_trader that referenced this pull request Sep 5, 2025
- Add to the Makefile and CI/CD pipeline
- Add `tmp_path` isolation for catalog including tests to prevent
  shared directory race conditions
- Add `xdist_group` markers to database integration tests to prevent
  race conditions
- Make dydx execution test deterministic by using fixed UUID instead
  of random (precondition for parallel pytest-xdist to work)
- Refactor `setup_catalog` to require a `path` argument
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