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

[build] Add PR validation for flight #148

Merged
merged 3 commits into from
Oct 22, 2024

Conversation

ccciudatu
Copy link
Collaborator

Also includes a cosmetic commit that isn't worth a PR of its own

@ccciudatu
Copy link
Collaborator Author

@phillipleblanc Regarging PR checks, should we perhaps include some flavour of cargo test --all-features to ensure that tests aren't broken?

As a side note, all the tests are currently passing, except for test_duckdb_connection_pool_with_attached_databases which is flaky , i.e. fails about half of the time with:

thread 'sql::db_connection_pool::duckdbpool::test::test_duckdb_connection_pool_with_attached_databases' panicked at src/sql/db_connection_pool/duckdbpool.rs:336:14:
Query should be successful: DuckDBError { source: DuckDBFailure(Error { code: Unknown, extended_code: 1 }, Some("TransactionContext Error: Catalog write-write conflict on create with \"attachment_0\"")) }

@phillipleblanc
Copy link
Collaborator

@phillipleblanc Regarging PR checks, should we perhaps include some flavour of cargo test --all-features to ensure that tests aren't broken?

As a side note, all the tests are currently passing, except for test_duckdb_connection_pool_with_attached_databases which is flaky , i.e. fails about half of the time with:

thread 'sql::db_connection_pool::duckdbpool::test::test_duckdb_connection_pool_with_attached_databases' panicked at src/sql/db_connection_pool/duckdbpool.rs:336:14:
Query should be successful: DuckDBError { source: DuckDBFailure(Error { code: Unknown, extended_code: 1 }, Some("TransactionContext Error: Catalog write-write conflict on create with \"attachment_0\"")) }

Yeah, I thought we were already doing that - so if we're not its a bug. @peasee can you take a look at the flaky test?

@ccciudatu
Copy link
Collaborator Author

Yeah, I thought we were already doing that - so if we're not its a bug.

@phillipleblanc Nope, lib/doc tests aren't even compiled as part of the PR checks.

@ccciudatu ccciudatu merged commit f7887a9 into datafusion-contrib:main Oct 22, 2024
3 checks passed
@ccciudatu ccciudatu deleted the cosmetics branch October 22, 2024 06:52
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