Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make agg_partials_pushdown test more predictable #6172

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

jnidzwetzki
Copy link
Contributor

So far, the parallel query plans of the agg_partials_pushdown test were not deterministic since multiple workers were used and the parallel session leader also participated in query processing. This makes it impossible to predict which worker would process how many tuples. With this patch, the number of parallel workers for the agg_partials_pushdown test has been reduced to 1 and the parallel_leader_participation has been disabled to ensure deterministic query plans.

--
Failed CI run: https://github.com/timescale/timescaledb/actions/runs/6448252405/job/17505323789?pr=6164
Disable-check: force-changelog-file

So far, the parallel query plans of the agg_partials_pushdown test were
not deterministic since multiple workers were used and the parallel
session leader also participated in query processing. This makes it
impossible to predict which worker would process how many tuples. With
this patch, the number of parallel workers for the agg_partials_pushdown
test has been reduced to 1 and the parallel_leader_participation has
been disabled to ensure deterministic query plans.
@jnidzwetzki jnidzwetzki added the ci label Oct 8, 2023
@jnidzwetzki jnidzwetzki added testing flaky-test Issue about a flaky test labels Oct 8, 2023
@github-actions
Copy link

github-actions bot commented Oct 8, 2023

@nikkhils, @mahipv: please review this pull request.

Powered by pull-review

@codecov
Copy link

codecov bot commented Oct 8, 2023

Codecov Report

Merging #6172 (12b137a) into main (6304c7a) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #6172      +/-   ##
==========================================
- Coverage   81.44%   81.41%   -0.03%     
==========================================
  Files         246      246              
  Lines       56974    56928      -46     
  Branches    12624    12605      -19     
==========================================
- Hits        46400    46348      -52     
+ Misses       8196     8190       -6     
- Partials     2378     2390      +12     

see 21 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jnidzwetzki jnidzwetzki merged commit f746398 into timescale:main Oct 9, 2023
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci flaky-test Issue about a flaky test testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants