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

airbyte-lib: Allow to skip slower tests #34901

Closed
wants to merge 1 commit into from

Conversation

flash1293
Copy link
Contributor

I always let the tests run locally to validate things after a change. However, the tests currently take 1.5 minutes roughly - as half of this is spent with snowflake and postgres tests which usually are not relevant to core library changes (as all sql caches work the same), this PR is flagging some tests so it's easy to skip them via poetry run pytest -m "not slow".

We could also re-arrange our tests and put all the slow ones in one file or so, but this seems like a good strategy for the specific issue.

Without the slow tests, the whole suite takes 45 seconds instead, but gives mostly the same guarantees as there are extensive integration tests with duckdb.

Copy link

vercel bot commented Feb 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Feb 6, 2024 11:29am

@aaronsteers
Copy link
Collaborator

@aaronsteers aaronsteers deleted the flash1293/airbyte-lib-fast-test-mode branch February 14, 2024 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants