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

FI-3367 Disable TLS from Env #20

Merged
merged 5 commits into from
Oct 28, 2024
Merged

Conversation

Shaumik-Ashraf
Copy link
Contributor

Summary

If INFERNO_DISABLE_TLS_TEST is in env the test will mark itself as omit.

Testing Guidance

  1. Checkout this branch
  2. bundle exec inferno services start
  3. INFERNO_DISABLE_TLS_TEST=true bundle exec inferno start
  4. Go to http://127.0.0.1:4567/ and run test against https://inferno.healthit.gov. Test should be omitted and not passed.

@@ -70,6 +70,7 @@ def incorrectly_permitted_tls_version_message_type
input :url

run do
omit_if ENV['INFERNO_DISABLE_TLS_TEST'], "This test is disabled because INFERNO_DISABLE_TLS_TEST is present in env."
Copy link
Collaborator

Choose a reason for hiding this comment

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

They should have to set it to true. As an example (although this one defaults to true instead of false):

https://github.com/inferno-framework/inferno-core/blob/main/lib/inferno/config/boot/validator.rb#L11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants