Skip to content

systemtest: speed up always-incremental with sleep 0.25#2358

Merged
BareosBot merged 3 commits intomasterfrom
dev/bruno/master/always-incremental-systemtests-speedup
Sep 9, 2025
Merged

systemtest: speed up always-incremental with sleep 0.25#2358
BareosBot merged 3 commits intomasterfrom
dev/bruno/master/always-incremental-systemtests-speedup

Conversation

@bruno-at-bareos
Copy link
Contributor

@bruno-at-bareos bruno-at-bareos commented Sep 2, 2025

This PR try to find the shortest interval for sleep in always-incremental systemtest, before having too much error on CI/CD.

The initial value of 2 secondes leads to no errors but then make tests quite long.

Thank you for contributing to the Bareos Project!

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

Make sure you check/merge the PR using devtools/pr-tool to have some simple automated checks run and a proper changelog record added.

General
  • Is the PR title usable as CHANGELOG entry?
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
  • Required backport PRs have been created
  • Correct milestone is set
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR

@bruno-at-bareos bruno-at-bareos self-assigned this Sep 2, 2025
@bruno-at-bareos bruno-at-bareos force-pushed the dev/bruno/master/always-incremental-systemtests-speedup branch 2 times, most recently from 07a52f1 to 851009b Compare September 8, 2025 15:12
Copy link
Member

@arogge arogge left a comment

Choose a reason for hiding this comment

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

Looks good. Thank you!

@arogge arogge added this to the 25.0.0 milestone Sep 9, 2025
@arogge
Copy link
Member

arogge commented Sep 9, 2025

Does it make sense to backport this?

@bruno-at-bareos
Copy link
Contributor Author

bruno-at-bareos commented Sep 9, 2025

Does it make sense to backport this?

I would say yes for 24 as it is easy to apply the changes (previous changes have been backported to that version).
For 23 no, the previous changes didn't go to that branch.

#2366 created

bruno-at-bareos and others added 3 commits September 9, 2025 16:05
Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
We calculate a near future and use 'when=' expression to schedule
both consolidation jobs at the same time.

Additionally we uniform the log name replacing ':' by '_' like set
in other tests

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
@BareosBot BareosBot force-pushed the dev/bruno/master/always-incremental-systemtests-speedup branch from 58786b7 to 4865460 Compare September 9, 2025 16:05
@BareosBot BareosBot merged commit 4ac966d into master Sep 9, 2025
@BareosBot BareosBot deleted the dev/bruno/master/always-incremental-systemtests-speedup branch September 9, 2025 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants