tursodatabase / tursodatabase/libsql

Flaky test: `compact_many`

Open
#905 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
17.2k
Forks
531
Avg merge
1h 12m
Merged PRs (30d)
1

Description

I regularly see the following output, and the test passes on rerun, so it's hard to get debug information from CI.

        PASS [   1.091s] libsql-server replication::snapshot::test::compact_file_create_snapshot
        FAIL [   1.180s] libsql-server replication::snapshot::test::compact_many

--- STDOUT:              libsql-server replication::snapshot::test::compact_many ---

running 1 test
test replication::snapshot::test::compact_many ... FAILED

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the replication::snapshot::test::compact_many test and run it repeatedly to reproduce the failure, using the CI output as the baseline. Done means the test no longer flakes and produces useful diagnostic output when it fails.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, sqlite
Domain
databases, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.