Skip to content

Commit

Permalink
QE: Reinforce and warn the check of a channel synchronization. (#9747)
Browse files Browse the repository at this point in the history
  • Loading branch information
srbarrios authored Feb 10, 2025
1 parent d659421 commit 16b41e1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions testsuite/features/support/commonlib.rb
Original file line number Diff line number Diff line change
Expand Up @@ -601,14 +601,16 @@ def channel_sync_completed?(channel_name)
elsif line.include?('Channel: ') && !line.include?(channel_name)
channel_found = false
elsif line.include?('Sync of channel completed.') && channel_found
return true
return true if channel_is_synced?(channel_name)

log "WARN: Repository metadata for #{channel_name} seems not synchronized. Even if the reposync log says it is."
return false
end
end

false
end

# TODO: This method is not used anywhere, consider removing it
# Determines whether a channel is synchronized on the server.
#
# @param channel [String] The name of the channel to check.
Expand Down

0 comments on commit 16b41e1

Please sign in to comment.