influxdata / influxdata/influxdb
Flaky test: `TestEnqueueScan` fails intermittently
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
A recent test failure output in file `replications/internal/queue_management_test.go`
I believe it is some interaction of the queue `run` internal goroutine and timing in the test. I couldn't get it to fail locally.
```
=== Failed
=== FAIL: replications/internal TestEnqueueScan/single_point_with_successful_write (0.01s)
logger.go:130: 2024-04-11T16:38:13.421Z DEBUG Created new durable queue for replication stream {"id": "0000000000000001", "path": "/tmp/TestEnqueueScansingle_point_with_successful_write2570974291/001/replicationq/0000000000000001"}
queue_management_test.go:107:
Error Trace: /root/project/replications/internal/queue_management_test.go:107
Error: Target error should be in err chain:
expected: "EOF"
in chain:
Test: TestEnqueueScan/single_point_with_successful_write
=== FAIL: replications/internal TestEnqueueScan (0.11s)
```
Contributor guide
Assessment
This issue has not been assessed yet.