timescale / timescaledb

An open-source time-series SQL database optimized for fast ingest and complex queries. Packaged as a PostgreSQL extension.
https://www.timescale.com/
Other
16.8k stars 852 forks source link

Reduce Postgres logs noise on regression tests #7043

Open fabriziomello opened 1 week ago

fabriziomello commented 1 week ago

For each regression database created we execute the test/sql/utils/testsupport.sql to setup some test stuff before actually run the tests. Once we config Postgres to emit log for all executed statements we create a log of noise on logs about this setup SQL script.

Change it to run the setup SQL script on the template1 database so all new created databases will contain all the necessary objects for run the tests.

Disable-check: force-changelog-file

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.77%. Comparing base (59f50f2) to head (c711dea). Report is 228 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #7043 +/- ## ========================================== + Coverage 80.06% 81.77% +1.70% ========================================== Files 190 200 +10 Lines 37181 37298 +117 Branches 9450 9725 +275 ========================================== + Hits 29770 30501 +731 + Misses 2997 2892 -105 + Partials 4414 3905 -509 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.