Skip to content

Flaky test in quickwit-metastore crate #6050

@congx4

Description

@congx4

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

  1. Investigate the test_metastore_get_identity test implementation
  2. Check for race conditions in PostgreSQL metastore operations
  3. Review test database setup and cleanup procedures
  4. Consider adding retry logic or improving test isolation

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions