influxdata / influxdata/influxdb

Flaky Test: TestKVStore/ConcurrentUpdate

Open
#10,774 3 comments 0 reactions 0 assignees View on GitHub
area/2.x area/api flaky test team/compute
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

```
--- FAIL: TestKVStore (1.07s)
--- PASS: TestKVStore/Get (0.00s)
--- PASS: TestKVStore/Get/get_key (0.00s)
--- PASS: TestKVStore/Get/get_missing_key (0.00s)
--- PASS: TestKVStore/Put (0.00s)
--- PASS: TestKVStore/Put/put_pair (0.00s)
--- PASS: TestKVStore/Delete (0.01s)
--- PASS: TestKVStore/Delete/delete_key (0.01s)
--- PASS: TestKVStore/Cursor (0.01s)
--- PASS: TestKVStore/Cursor/basic_cursor (0.01s)
--- PASS: TestKVStore/View (0.02s)
--- PASS: TestKVStore/View/basic_view (0.01s)
--- PASS: TestKVStore/View/basic_view_with_delete (0.00s)
--- PASS: TestKVStore/View/basic_view_with_put (0.00s)
--- PASS: TestKVStore/Update (0.01s)
--- PASS: TestKVStore/Update/basic_update (0.00s)
--- PASS: TestKVStore/Update/basic_update_with_delete (0.01s)
--- FAIL: TestKVStore/ConcurrentUpdate (1.02s)
--- FAIL: TestKVStore/ConcurrentUpdate/basic_concurrent_update (1.02s)
kv.go:923: error during view transaction: exptected to get value darkness my new friend got world
```

Contributor guide

Open the contributing guide

Research direction

Start with the TestKVStore/ConcurrentUpdate/basic_concurrent_update failure and inspect kv.go:923. Reproduce the concurrent update failure, trace why the expected value differs from the observed value, and verify that the test passes reliably under repeated runs.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
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.