diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-17 06:08:59 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-17 06:08:59 +0300 |
commit | 38c3d3255398d615cf93867cb82902c3d2cb65a5 (patch) | |
tree | 5cc74f663afedac5125a59f81e2a4a571c61cb49 /qa | |
parent | 668e319631855d6d9396a203ded1fa5bcb986f1f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/specs/features/api/3_create/gitaly/distributed_reads_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qa/qa/specs/features/api/3_create/gitaly/distributed_reads_spec.rb b/qa/qa/specs/features/api/3_create/gitaly/distributed_reads_spec.rb index c3cb503ed3f..9bf3474ba5a 100644 --- a/qa/qa/specs/features/api/3_create/gitaly/distributed_reads_spec.rb +++ b/qa/qa/specs/features/api/3_create/gitaly/distributed_reads_spec.rb @@ -88,6 +88,7 @@ module QA read_from_project(project, number_of_reads) praefect_manager.query_read_distribution.each_with_index do |data, index| + diff_found[index] = {} unless diff_found[index] diff_found[index][:diff] = true if data[:value] > praefect_manager.value_for_node(pre_read_data, data[:node]) end diff_found.all? { |node| node.key?(:diff) && node[:diff] } |