apache / apache/beam

[Failing Test][Go SDK]: Flake: TestElementChan/FillBufferThenAbortThenRead

Open
#26,057 0 comments 0 reactions 1 assignee Claimed by @lostluck View on GitHub
bug failing test flake go P2 tests
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

### What happened?

--- FAIL: TestElementChan (0.00s)
11:55:05 --- FAIL: TestElementChan/FillBufferThenAbortThenRead (0.00s)
11:55:05 datamgr_test.go:400: got sum 21, count 21, want sum 20, count 20
11:55:05 FAIL

It's due to a concurrency race on handling the channel close from the side. The behaviour shouldn't cause a correctness issue since it's so we can clean up residual data after an instruction is terminated. The test is just too specific and should be relaxed a little.

### Issue Failure

Failure: Test is flaky

### Issue Priority

Priority: 2 (backlog / disabled test but we think the product is healthy)

### Issue Components

- [ ] Component: Python SDK
- [ ] Component: Java SDK
- [X] Component: Go SDK
- [ ] Component: Typescript SDK
- [ ] Component: IO connector
- [ ] Component: Beam examples
- [ ] Component: Beam playground
- [ ] Component: Beam katas
- [ ] Component: Website
- [ ] Component: Spark Runner
- [ ] Component: Flink Runner
- [ ] Component: Samza Runner
- [ ] Component: Twister2 Runner
- [ ] Component: Hazelcast Jet Runner
- [ ] Component: Google Cloud Dataflow Runner

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.