Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make nf_conntrack_max fact an integer and improve rspec test coverage #17

Merged
merged 2 commits into from Jan 18, 2024

Conversation

silug
Copy link

@silug silug commented Jan 18, 2024

  • Expand the basic rspec tests for the conntrackd class and add tests for the sub-classes
  • Enhancements to the nf_conntrack_max fact
    • Return an integer to avoid a type conversion warning
    • Improve error handling
    • Add tests

* Expand the basic rspec tests for the `conntrackd` class and add tests
  for the sub-classes
* Enhancements to the `nf_conntrack_max` fact
    * Return an integer to avoid a type conversion warning
    * Improve error handling
    * Add tests
Copy link
Member

@evgeni evgeni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overall ack, just one impact question

lib/facter/nf_conntrack_max.rb Show resolved Hide resolved
@evgeni evgeni changed the title Improve rspec test coverage Make nf_conntrac_max fact an integer and improve rspec test coverage Jan 18, 2024
@silug silug changed the title Make nf_conntrac_max fact an integer and improve rspec test coverage Make nf_conntrack_max fact an integer and improve rspec test coverage Jan 18, 2024
@evgeni evgeni merged commit 1911382 into voxpupuli:master Jan 18, 2024
4 checks passed
@silug silug deleted the rspec_additions branch January 18, 2024 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants