Skip to content

Conversation

liangxin1300
Copy link
Collaborator

Port from #1926

Copy link

codecov bot commented Sep 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.56%. Comparing base (cf4386e) to head (d62de2c).

Additional details and impacted files
Flag Coverage Δ
integration 55.00% <100.00%> (+0.03%) ⬆️
unit 52.92% <16.66%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
crmsh/cibverify.py 95.65% <100.00%> (+1.53%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

When Try "crm configure verify"
Then Expected return code is "1"
Then Expected return code is "0"
Then Expected "Configuration invalid (with warnings)" in stdout
Copy link
Contributor

Choose a reason for hiding this comment

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

Caution that after pacemaker#3933 this will be changed to "Configuration may need attention"

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Then we update the test case after pacemaker upgraded

Copy link
Contributor

Choose a reason for hiding this comment

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

How about this,

Suggested change
Then Expected "Configuration invalid (with warnings)" in stdout
Then Expect stdout contains snippets ["Configuration invalid (with warnings)", "Configuration may need attention"]

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We can hold on to this PR, until pacemaker#3933 submits to Factory

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