From 8b111f4dbc37866a12e5c5240bbe40eb798fcc43 Mon Sep 17 00:00:00 2001 From: elariekerboull Date: Tue, 8 Aug 2023 16:34:14 +0200 Subject: [PATCH] Testsuite: Correct omitted run method (#7390) * Replace missed occurence of server.run replacement * Fix typo --- testsuite/features/reposync/srv_sync_products.feature | 2 +- testsuite/features/reposync/srv_wait_for_reposync.feature | 2 +- testsuite/features/step_definitions/command_steps.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/testsuite/features/reposync/srv_sync_products.feature b/testsuite/features/reposync/srv_sync_products.feature index 8d27cdf2e501..b9e45c7e4d73 100644 --- a/testsuite/features/reposync/srv_sync_products.feature +++ b/testsuite/features/reposync/srv_sync_products.feature @@ -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 diff --git a/testsuite/features/reposync/srv_wait_for_reposync.feature b/testsuite/features/reposync/srv_wait_for_reposync.feature index 7e8e419ed570..c85c86e77fe9 100644 --- a/testsuite/features/reposync/srv_wait_for_reposync.feature +++ b/testsuite/features/reposync/srv_wait_for_reposync.feature @@ -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 diff --git a/testsuite/features/step_definitions/command_steps.rb b/testsuite/features/step_definitions/command_steps.rb index 2ac1a2adaa54..345be032ab2b 100644 --- a/testsuite/features/step_definitions/command_steps.rb +++ b/testsuite/features/step_definitions/command_steps.rb @@ -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|