-
Notifications
You must be signed in to change notification settings - Fork 501
Closed
Description
Summary
A test in the quickwit-metastore crate is consistently showing flaky behavior across multiple test runs.
Flaky Test
metastore::postgres::metastore::tests::common_tests::test_metastore_get_identity
Behavior
This test appears as flaky in all 4 test runs with different retry counts:
- Run 1: FLAKY 2/6 [0.270s]
- Run 2: FLAKY 2/6 [0.320s]
- Run 3: FLAKY 2/6 [0.293s]
- Run 4: FLAKY 2/6 [0.359s]
Test Environment
All tests were run with make test-all and this test consistently showed flaky behavior across all runs.
Impact
This flaky test may indicate:
- Race conditions in PostgreSQL metastore operations
- Issues with test setup/teardown
- Database connection reliability problems
- Timing-sensitive assertions
Next Steps
- Investigate the
test_metastore_get_identitytest implementation - Check for race conditions in PostgreSQL metastore operations
- Review test database setup and cleanup procedures
- Consider adding retry logic or improving test isolation