Skip to content

Commit

Permalink
fix(util): fix skip_optional_stage logic
Browse files Browse the repository at this point in the history
if stage skipped in test we expect that skip_optional_stage func returns true,
but in fact returned false. This pr fix this issue
  • Loading branch information
timtimb0t authored and soyacz committed Oct 17, 2024
1 parent 8b9a75f commit 99d539b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdcm/utils/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -2670,5 +2670,5 @@ def skip_optional_stage(stage_names: str | list[str]) -> bool:
if skipped_stages:
skipped_stages_str = ', '.join(skipped_stages)
LOGGER.warning("'%s' test stage(s) is disabled.", skipped_stages_str)
return False
return True
return True
return False

0 comments on commit 99d539b

Please sign in to comment.