apache / apache/pinot

[multistage][flakytest] ResourceBasedQueriesTest.testQueryTestCasesWithH2 is flaky

Open
#9,959 4 comments 0 reactions 0 assignees View on GitHub
multi-stage
Dominant language
Java
Stars
6.1k
Forks
1.5k
Avg merge
1d 21h
Merged PRs (30d)
189

Description

observed multiple times when random timeout occurs on 3-way or more join queries.

example: https://github.com/apache/pinot/actions/runs/3660353652/jobs/6187392596
```
2022-12-09T20:09:11.9697742Z [ERROR] org.apache.pinot.query.runtime.queries.ResourceBasedQueriesTest.testQueryTestCasesWithH2[where_clause_tests, SELECT * FROM where_clause_tests_tbl WHERE intCol IN (SELECT a.intCol FROM where_clause_tests_tbl AS a JOIN where_clause_tests_tbl AS b ON a.strCol = b.strCol WHERE MOD(a.intCol, 2) = MOD(b.intCol, 2)), null](8) Time elapsed: 10.109 s <<< FAILURE!
```

Contributor guide

Open the contributing guide

Research direction

Start with ResourceBasedQueriesTest.testQueryTestCasesWithH2 and review the linked GitHub Actions run. Reproduce the failure with the reported three-way-or-more join query and identify why the random timeout occurs. Done means the test no longer flakes under repeated runs and the relevant test suite passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.