Skip to content

Commit

Permalink
fixed CI to allow failure
Browse files Browse the repository at this point in the history
  • Loading branch information
maxadamo committed Aug 1, 2021
1 parent 13138d4 commit 67a150e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/acceptance/pip_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ class { 'python':
}
PUPPET

apply_manifest(pp, catch_failures: false)
apply_manifest(pp, catch_changes: true)
result = apply_manifest(pp, expect_failures: true)
expect(result.stderr).to contain(%r{returned 1 instead of one of})
end
end

describe command('/opt/test-venv/bin/pip show agent') do
its(:exit_status) { is_expected.to eq 1 }
its(:stdout) { is_expected.not_to match %r{WARNING: Package\(s\) not found: agent} }
its(:stderr) { is_expected.to match %r{WARNING: Package\(s\) not found: agent} }
end
end

0 comments on commit 67a150e

Please sign in to comment.