Merged
Conversation
7f0b0a9 to
fbb737f
Compare
fbb737f to
56cecc6
Compare
pstorz
requested changes
Apr 19, 2021
Member
pstorz
left a comment
There was a problem hiding this comment.
Good work. It might make sense to see if we can merge some of the new tests or /and also of the existing tests together to get a better overall run performance. By using setup and cleanup steps
2afae24 to
2f14222
Compare
c9dd2df to
1baa170
Compare
1baa170 to
c038ede
Compare
Member
Author
|
This PR depends on #809 and should be merged after that. |
c038ede to
11c86d9
Compare
Member
Author
85a336d to
72988ae
Compare
pstorz
requested changes
Jun 4, 2021
Member
pstorz
left a comment
There was a problem hiding this comment.
- CHANGELOG.md is missing, I think that would make sense to add some info there
- truncate-command/testrunner still seems to have the wrong comment,
- Untracked files after build git status:
Untracked files:
(use "git add ..." to include in what will be committed)
Testing/
core/scripts/bareos-regress.conf
systemtests/tests/messages/testrunner: - bareos-check-sources --since-merge:
Plugin 'cmake format' would modify 'core/CTestScript.cmake.in'
Plugin 'clang-format check' would modify 'core/src/dird/ua_status.cc'
Plugin 'trailing newlines' would modify 'systemtests/tests/block-size/etc/bareos/bareos-dir.d/pool/Tape.conf'
72988ae to
1da2bd0
Compare
joergsteffens
added a commit
that referenced
this pull request
Jun 4, 2021
1da2bd0 to
952eb61
Compare
Member
Author
|
I applied the requested changes and rebased to master again. |
12 tasks
pstorz
pushed a commit
that referenced
this pull request
Jun 21, 2021
952eb61 to
0e32af2
Compare
* replace "echo -n" with "printf", because "echo -n" does not work as expected on Solaris.
* speed up stop scripts.
Every test stops the 3 daemons.
Verifying that a daemon is really stopped, takes around 1 second.
This change reduces the required time to about 0,5s, which sums up to
80 (tests) * 3 (daemons) * 0,5s = 120s = 2m
Sort tests alphabetically.
The variables dir_plugin_binary_path, sd_plugin_binary_path and fd_plugin_binary_path have only been copies of DIR_PLUGINS_DIR_TO_TEST, SD_PLUGINS_DIR_TO_TEST and FD_PLUGINS_DIR_TO_TEST, if build against python. Removed, because they are redundant.
migrated from regress/
migrated from regress/
migrated from regress/
migrated from regress/
migrated from regress/
migrated from regress/
migrated from regress/
migrated from regress/
This change removes the regress directory, containing lots of old tests. The relevant tests have been migrated into systemtests. This change also removes references from the documentation to the old regress tests.
All tests that do set BackupDirectory set it to the same value (${tmp}/data).
This is moved from the testrunner scripts to the environment file.
The setup_data function no longer supports parameter,
so parameter are removed from the calls.
The function now uses the BackupDirectory variable.
While the execution of a command with exit code other than 0 is normally an error. The test scripts stop than with status error. However, when commands are executed with pipes, only the exit code of the last command is evaluated. With the option "pipefail", the first failing command sets the exit code. This is useful, because otherwise errors can occur unnoticed.
0e32af2 to
d19597c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The tests from
regress/have been deprecated in favor thesystemtests/.As they are no longer is use, this PR removes them.
A couple of useful tests are migrated to systemtests.
Thank you for contributing to the Bareos Project!
Please check
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)
General
Source code quality
check-sources --since-mergedoes not report any problemsgit statusshould not report modifications in the source tree after building and testing