bareos: master 7cf357f4

Author Committer Branch Timestamp Parent
joergs joergs master 2024-08-13 15:50 master 7bd8ccf6 Pending
Changeset systemtest python-bareos: speed up tests by 25%

The python-bareos systemtests do test a lot of functionality.
As every test must be able to run indepently and in random order,
the tests often ensured that test data is available
by running a backup job.

This change uses the recently introduced function get_backup_jobid
to ensure the availability of test data in a more efficient way:
if a job with the requested parameter already exists,
it's jobid is returned. Otherwise the requested job is started.

(cherry picked from commit e5b38b3d29e532635bd731611fb02604ccbf7cef)
mod - systemtests/python-modules/bareos_unittest/base.py Diff File
mod - systemtests/python-modules/bareos_unittest/json.py Diff File
mod - systemtests/tests/python-bareos/test_acl.py Diff File
mod - systemtests/tests/python-bareos/test_bvfs.py Diff File
mod - systemtests/tests/python-bareos/test_delete.py Diff File
mod - systemtests/tests/python-bareos/test_list_command.py Diff File
mod - systemtests/tests/python-bareos/test_python_fd_plugins.py Diff File