Skip to content

Address CH flaky ALTER TABLE queries in tests

Adam Hegyi requested to merge ah-address-ch-flaky-tests into master

What does this MR do and why?

This MR attempts to address flaky CH tests such as this one: https://gitlab.com/gitlab-org/gitlab/-/jobs/6568945062

Assumption: ALTER TABLE DELETE/UPDATE statements are executed async by default. Due to this behavior, tests deleting/updating data might become flaky. By adding the mutations_async setting to the test env we force CH to execute these mutations synchronously.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Adam Hegyi

Merge request reports

Loading