Skip to content

Commit cb6fbc3

Browse files
committed
QE: Partially synchronize opensuse_leap15_5-x86_64
1 parent 4062667 commit cb6fbc3

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

testsuite/features/reposync/srv_sync_products.feature

+2-3
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,8 @@ Feature: Synchronize products in the products page of the Setup Wizard
108108
# When I kill running spacewalk-repo-sync for "sles15-sp4"
109109

110110
@uyuni
111-
Scenario: Add openSUSE Leap 15.5 product, including Uyuni Client Tools
112-
When I use spacewalk-common-channel to add all "leap15.5" channels with arch "x86_64"
113-
And I kill running spacewalk-repo-sync for "leap15.5-x86_64"
111+
Scenario: Partially add openSUSE Leap 15.5 product, only including the required packages to generate the bootstrap repository
112+
When I use spacewalk-repo-sync to sync channel "opensuse_leap15_5-x86_64" including "python3-ply dmidecode libunwind venv-salt-minion" packages
114113
And I use spacewalk-common-channel to add all "leap15.5-client-tools" channels with arch "x86_64"
115114
And I wait until all synchronized channels for "leap15.5-client-tools-x86_64" have finished
116115

testsuite/features/step_definitions/command_steps.rb

+5
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,11 @@
184184
$command_output, _code = get_target('server').run_until_ok("spacewalk-repo-sync -c #{channel}")
185185
end
186186

187+
When(/^I use spacewalk-repo-sync to sync channel "([^"]*)" including "([^"]*)" packages?$/) do |channel, packages|
188+
append_includes = packages.split.map { |pkg| "--include #{pkg}" }.join(' ')
189+
$command_output, _code = get_target('server').run_until_ok("spacewalk-repo-sync -c #{channel} #{append_includes}")
190+
end
191+
187192
Then(/^I should get "([^"]*)"$/) do |value|
188193
raise ScriptError, "'#{value}' not found in output '#{$command_output}'" unless $command_output.include? value
189194
end

0 commit comments

Comments
 (0)