This is an automated backport of #7030: Reduce bgw_job_stat_history test flakiness.
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.
Removed the unecessary start/stop background workers during the test execution to avoid canceling any ongoing job execution leading to non-deterministic status checks.
This is an automated backport of #7030: Reduce bgw_job_stat_history test flakiness. 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
Reduce bgw_job_stat_history test flakiness
Removed the unecessary
start/stop
background workers during the test execution to avoid canceling any ongoing job execution leading to non-deterministic status checks.https://github.com/timescale/timescaledb/actions/runs/9491560936/job/26157244186
Disable-check: force-changelog-file