Skip to content

Conversation

@liangxin1300
Copy link
Collaborator

@liangxin1300 liangxin1300 commented Jul 22, 2025

In PR #1740, the parameter pcmk_delay_max was removed. However, the formula for SBD_DELAY_START still needs to account for the pcmk_delay_max factor [1]. This PR restores the use of pcmk_delay_max in the calculation.

[1] #1740 (comment)

@codecov
Copy link

codecov bot commented Jul 22, 2025

Codecov Report

Attention: Patch coverage is 33.33333% with 4 lines in your changes missing coverage. Please review.

Project coverage is 70.62%. Comparing base (33900d1) to head (cd1d7ec).
Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
crmsh/utils.py 25.00% 3 Missing ⚠️
crmsh/sbd.py 50.00% 1 Missing ⚠️
Additional details and impacted files
Flag Coverage Δ
integration 55.06% <16.66%> (-0.01%) ⬇️
unit 52.99% <33.33%> (-0.01%) ⬇️

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

Files with missing lines Coverage Δ
crmsh/sbd.py 87.09% <50.00%> (-0.18%) ⬇️
crmsh/utils.py 67.97% <25.00%> (-0.09%) ⬇️

☔ 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.

Copy link
Member

@gao-yan gao-yan left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks.

@liangxin1300 liangxin1300 merged commit 07081e3 into ClusterLabs:master Jul 23, 2025
35 of 36 checks passed
liangxin1300 added a commit that referenced this pull request Jul 23, 2025
…START (#1875)

Changes:
- Dev: behave: Change the expected value of SBD_WATCHDOG_TIMEOUT and
stonith-timeout
These values in testcases in file bootstrap_sbd_delay.feature should be
updated first before backport

- backport #1873
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