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

Ensure database is unused in bgw_launcher test #6109

Merged
merged 1 commit into from
Sep 26, 2023

Conversation

jnidzwetzki
Copy link
Contributor

@jnidzwetzki jnidzwetzki commented Sep 22, 2023

The bgw_launcher test changes the tablespace for a database. However, this requires that the database is used and no BGW are accessing the database. This PR ensures that the background workers are stopped before the tablespace is changed.


Disable-check: force-changelog-file
Failing CI run: https://github.com/timescale/timescaledb/actions/runs/6268372126/job/17023181691

The bgw_launcher test changes the tablespace for a database. However,
this requires that the database is used and no BGW are accessing the
database. This PR ensures that the background workers are stopped before
the tablespace is changed.
@jnidzwetzki jnidzwetzki added ci flaky-test Issue about a flaky test labels Sep 22, 2023
@codecov
Copy link

codecov bot commented Sep 22, 2023

Codecov Report

Merging #6109 (055837f) into main (3589d37) will decrease coverage by 0.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #6109      +/-   ##
==========================================
- Coverage   81.52%   81.47%   -0.06%     
==========================================
  Files         246      246              
  Lines       56773    56727      -46     
  Branches    12587    12568      -19     
==========================================
- Hits        46287    46221      -66     
+ Misses       8102     8096       -6     
- Partials     2384     2410      +26     

see 44 files with indirect coverage changes

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

@jnidzwetzki jnidzwetzki marked this pull request as ready for review September 22, 2023 09:52
@github-actions
Copy link

@mkindahl, @fabriziomello: please review this pull request.

Powered by pull-review

@jnidzwetzki jnidzwetzki merged commit d9e4a71 into timescale:main Sep 26, 2023
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants