Skip to content

Commit

Permalink
Merge pull request #24433 from dotnwat/skip-fips-mode-doc
Browse files Browse the repository at this point in the history
tests: add reasoning for skip fips mode
  • Loading branch information
dotnwat authored Dec 4, 2024
2 parents 80bdbb7 + 8852d2e commit b696a84
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion tests/rptest/utils/mode_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,20 @@ def in_fips_environment() -> bool:

def skip_fips_mode(*args, **kwargs):
"""
Test method decorator which signals to the test runner to ignore a given test.
Decorator indicating that the test should not run in FIPS mode.
Ideally all tests should run in FIPS mode. The following are some situations
in which skipping FIPS mode is required.
* Exercising a known non-FIPS condition (e.g. virtual-host vs path style
testing).
* We can't test it in FIPS mode because of infrastructure issues, but the
implementation doesn't change between FIPS and non-FIPS (auditing & OCSF
server).
* Certain license tests (since enabling FIPS mode enables enterprise license
requirement).
Example::
Expand Down

0 comments on commit b696a84

Please sign in to comment.