Skip to content

Commit

Permalink
Refactor for SLE Micro minion
Browse files Browse the repository at this point in the history
  • Loading branch information
nodeg committed Sep 15, 2023
1 parent 9d6a2ad commit 2898557
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,11 @@ Feature: Smoke tests for <client>
And I click on "Apply Highstate"
Then I should see a "Applying the highstate has been scheduled." text
And I wait until event "Apply highstate scheduled by admin" is completed

@skip_for_sle_micro_ssh_minion
@sle_micro_minion
# workaround for SLE Micro minion issue bsc#1209374
Scenario: Enable and start Prometheus exporter service
And I start the "prometheus-node_exporter.service" service on "<client>"
And I enable the "prometheus-node_exporter.service" service on "<client>"

Expand Down
4 changes: 4 additions & 0 deletions testsuite/features/support/env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,10 @@ def process_code_coverage
skip_this_scenario unless (filename.include? 'sle') || (filename.include? 'suse')
end

Before('@sle_micro_minion') do |scenario|
skip_this_scenario unless scenario.location.file.include? 'slemicro'
end

Before('@skip_for_debianlike') do |scenario|
filename = scenario.location.file
skip_this_scenario if (filename.include? 'ubuntu') || (filename.include? 'debian')
Expand Down

0 comments on commit 2898557

Please sign in to comment.