Skip to content

Commit

Permalink
Add Check for listening port
Browse files Browse the repository at this point in the history
  • Loading branch information
voxel01 committed Nov 24, 2023
1 parent 8f416d3 commit 49b304e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/acceptance/otelcol_contrib_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
it { is_expected.to be_enabled }
it { is_expected.to be_running }
end

Check failure on line 10 in spec/acceptance/otelcol_contrib_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

RSpec/EmptyLineAfterExampleGroup: Add an empty line after `describe`. (https://rspec.rubystyle.guide/#empty-lines-between-describes, https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyLineAfterExampleGroup)
describe port(8889) do
it { should be_listening }

Check failure on line 12 in spec/acceptance/otelcol_contrib_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

RSpec/ImplicitExpect: Prefer `is_expected.to` over `should`. (https://rspec.rubystyle.guide/#use-expect, https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ImplicitExpect)
end
end
end
3 changes: 3 additions & 0 deletions spec/acceptance/otelcol_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
it { is_expected.to be_enabled }
it { is_expected.to be_running }
end

Check failure on line 10 in spec/acceptance/otelcol_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

RSpec/EmptyLineAfterExampleGroup: Add an empty line after `describe`. (https://rspec.rubystyle.guide/#empty-lines-between-describes, https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyLineAfterExampleGroup)
describe port(8888) do
it { should be_listening }

Check failure on line 12 in spec/acceptance/otelcol_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

RSpec/ImplicitExpect: Prefer `is_expected.to` over `should`. (https://rspec.rubystyle.guide/#use-expect, https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ImplicitExpect)
end
end
end

0 comments on commit 49b304e

Please sign in to comment.