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

Beakerlib tests adjustments #651

Merged
merged 2 commits into from
Jul 23, 2024

Conversation

zacikpa
Copy link
Contributor

@zacikpa zacikpa commented Jun 25, 2024

Some minor test adjustments:

  • All other tests run tunedDisableSystemdRateLimitingStart without rlRun, so stick to it in variables-support-in-profiles, too.
  • Add a missing rlServiceRestore to the error-messages test. This fixes recent test failures in Rawhide, most likely triggered by the recent addition of TuneD to systemd presets.

@zacikpa zacikpa changed the title Unify the calling of tunedDisableSystemdRateLimitingStart in beaker tests Beakerlib tests adjustments Jun 25, 2024
@zacikpa zacikpa marked this pull request as draft June 25, 2024 07:02
@zacikpa zacikpa marked this pull request as ready for review June 25, 2024 07:28
@zacikpa zacikpa assigned yarda and unassigned yarda Jun 25, 2024
@zacikpa zacikpa requested a review from yarda June 25, 2024 07:30
Copy link
Contributor

@yarda yarda left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM.

@@ -24,7 +24,7 @@ rlJournalStart
rlPhaseStartSetup
rlAssertRpm $PACKAGE
rlImport "tuned/basic"
rlRun "tunedDisableSystemdRateLimitingStart"
tunedDisableSystemdRateLimitingStart
Copy link
Contributor

Choose a reason for hiding this comment

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

I think all commands (including functions) should be started through rlRun, so it's easy to spot possible test problems in a consistent way. But I will let it on @RHEmployee to eventually make such changes. For now, I think it's good to be consistent, thus let's go with this change.

@yarda yarda merged commit e8bea35 into redhat-performance:master Jul 23, 2024
14 checks passed
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