Closed ccciudatu closed 3 weeks ago
@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 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?
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.
Also includes a cosmetic commit that isn't worth a PR of its own