Skip to content

Commit

Permalink
Testsuite: Correct omitted run method (#7390)
Browse files Browse the repository at this point in the history
* Replace missed occurence of server.run replacement

* Fix typo
  • Loading branch information
elariekerboull authored Aug 8, 2023
1 parent c24e790 commit 8b111f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion testsuite/features/reposync/srv_sync_products.feature
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Feature: Synchronize products in the products page of the Setup Wizard
Then the SLE15 SP4 product should be added

@uyuni
Scenario: Add openSUSE Leap 15.4 product, inlcuding Uyuni Client Tools
Scenario: Add openSUSE Leap 15.4 product, including Uyuni Client Tools
When I use spacewalk-common-channel to add channel "opensuse_leap15_4 opensuse_leap15_4-non-oss opensuse_leap15_4-non-oss-updates opensuse_leap15_4-updates opensuse_leap15_4-backports-updates opensuse_leap15_4-sle-updates uyuni-proxy-devel-leap opensuse_leap15_4-uyuni-client" with arch "x86_64"

@proxy
Expand Down
2 changes: 1 addition & 1 deletion testsuite/features/reposync/srv_wait_for_reposync.feature
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Feature: Wait for reposync activity to finish in CI context
When I kill all running spacewalk-repo-sync, excepted the ones needed to bootstrap

@uyuni
Scenario: Sync openSUSE Leap 15.4 product, inlcuding Uyuni Client Tools
Scenario: Sync openSUSE Leap 15.4 product, including Uyuni Client Tools
When I call spacewalk-repo-sync to sync the parent channel "opensuse_leap15_4-x86_64"

Scenario: Wait until all synchronized channels have finished
Expand Down
2 changes: 1 addition & 1 deletion testsuite/features/step_definitions/command_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@
end

When(/^I call spacewalk\-repo\-sync to sync the parent channel "(.*?)"$/) do |channel|
@command_output, _code = $server.run("spacewalk-repo-sync -p #{channel}", check_errors: false)
@command_output, _code = get_target('server').run("spacewalk-repo-sync -p #{channel}", check_errors: false)
end

When(/^I get "(.*?)" file details for channel "(.*?)" via spacecmd$/) do |arg1, arg2|
Expand Down

0 comments on commit 8b111f4

Please sign in to comment.