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

Backport to 2.12.x: #6231: Fix flaky upgrade test #6232

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

timescale-automation
Copy link

This is an automated backport of #6231: Fix flaky upgrade test.
This PR will be merged automatically after all the relevant CI checks pass. If this fix should not be backported, or will be backported manually, just close this PR. You can use the backport branch to add your changes, it won't be modified automatically anymore.

For more details, please see the documentation

Original description

Fix flaky upgrade test

The upgrade test utilizes several CAggs and defines refresh policies.
However, the test results are not deterministic due to the unpredictable
timing of the refreshes. This causes the test to be flaky. This pull
request explicitly adds explicit refreshes to the upgrade test to ensure
that the test results are deterministic.


Link to failed CI run: https://github.com/timescale/timescaledb/actions/runs/6644016971/job/18057621681?pr=6229
Link to fixed CI run: https://github.com/timescale/timescaledb/actions/runs/6646121959/job/18058928349
Disable-check: force-changelog-file

The upgrade test utilizes several CAggs and defines refresh policies.
However, the test results are not deterministic due to the unpredictable
timing of the refreshes. This causes the test to be flaky. This pull
request explicitly adds explicit refreshes to the upgrade test to ensure
that the test results are deterministic.

(cherry picked from commit 53e9747)
@codecov
Copy link

codecov bot commented Oct 26, 2023

Codecov Report

Merging #6232 (2477fe8) into 2.12.x (2a39fbb) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           2.12.x    #6232      +/-   ##
==========================================
- Coverage   81.55%   81.53%   -0.03%     
==========================================
  Files         246      246              
  Lines       56824    56778      -46     
  Branches    12597    12578      -19     
==========================================
- Hits        46344    46292      -52     
+ Misses       8108     8087      -21     
- Partials     2372     2399      +27     

see 46 files with indirect coverage changes

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

@timescale-automation timescale-automation merged commit fad0a20 into 2.12.x Oct 26, 2023
33 of 35 checks passed
@timescale-automation timescale-automation deleted the backport/2.12.x/6231 branch October 26, 2023 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is-auto-backport PR created by backport automation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants