Skip to content

Commit

Permalink
Skip multibuild flavors in test_consistency_helper
Browse files Browse the repository at this point in the history
Since we now always get the info from the backend on
`source/:project_name` the multibuild flavors are included as well.
We have to skip those when querying for
`source/:project_name/:package_name/_meta` since multibuild flavors
dont have their own meta file.
  • Loading branch information
krauselukas committed Oct 23, 2024
1 parent 63e715a commit 6a64e22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/api/test/test_consistency_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ def resubmit_all_fixtures
assert_response :success
packages = Xmlhash.parse(@response.body)
packages.elements('entry') do |p|
# skip multibuild flavors
next if p['name'].include?(':')

get "/source/#{name}/#{p['name']}/_meta"
assert_response :success
r = @response.body
Expand Down

0 comments on commit 6a64e22

Please sign in to comment.