Skip to content

Quarantine preloads associations to prevent N+1 queries example in cluster_agents_spec

What does this MR do and why?

Quarantines Project.cluster_agents selecting activity events preloads associations to prevent N+1 queries test due to flakiness.

The test matches one of the following conditions:

  1. has either flakiness1 or flakiness2 label set, which means the number of reported failures is at or above 95 percentile, indicating unusually high failure count.
  2. has severity1 label set, which means the number of reported failures spiked and exceeded its daily threshold.

This MR quarantines the test. This is a discussion starting point to let the responsible group know about the flakiness so that they can take action:

  • accept the merge request and schedule the associated issue to improve the test
  • close the merge request in favor of another merge request to delete the test

Please follow the Flaky tests management process to help us increase master stability.

References

Test failure issue #490799

MR acceptance checklist

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

Merge request reports

Loading