Skip to content

Reset pushes_since_gc counter before specs run to ensure starting point is 0

Stan Hu requested to merge sh-reset-pushes-since-gc-before into master

The pushes_since_gc counter would often start at 1 due to knapsack's ordering of the specs. Reset it before the start of each spec to ensure a consistent state.

See https://gitlab.com/gitlab-org/gitlab-ce/builds/4178116 as an example failing spec.

Merge request reports