freezer/tests
Fabrizio Vanni cea7fb2702 basic integration tests for freezer-agent
The test provided in the tests/integration directory
execute the command line version of the freezer-agent.

The tests execute backups and restores, passing the parameters
on the command line, and check the results.

Types of integration tests depend on the environment variables defined.

Local storage tests are enabled by default and use temporary
files and directories, while SSH and Swift storage testing need
also access to existing external resources.

To enable the ssh storage testing, the following environment
variables need to be defined:

 - FREEZER_TEST_SSH_USERNAME
 - FREEZER_TEST_SSH_KEY
 - FREEZER_TEST_SSH_HOST
 - FREEZER_TEST_CONTAINER

To enable the swift storage testing, the following environment
variables need to be defined:

 - FREEZER_TEST_OS_USERNAME
 - FREEZER_TEST_OS_TENANT_NAME
 - FREEZER_TEST_OS_REGION_NAME
 - FREEZER_TEST_OS_PASSWORD
 - FREEZER_TEST_OS_AUTH_URL

Tests involving LVM snapshots are executed only with superuser
privileges and if the following env variable is not defined:

 - FREEZER_TEST_NO_LVM

Change-Id: I39f0c9bf62f7c82f81ad95f19cf0f7aefb059633
2015-08-13 16:54:14 +01:00
..
integration basic integration tests for freezer-agent 2015-08-13 16:54:14 +01:00
scenario Improve test coverage of storage.py 2015-08-06 14:36:06 +01:00
__init__.py Added unittest for utils.py 2014-12-06 17:36:53 +00:00
commons.py add option to choose compression algorithm with choose between gzip, bzip2 and xz 2015-08-12 15:15:19 +02:00
test_apiclient_actions.py freezer scheduler 2015-07-10 18:51:17 +01:00
test_apiclient_backup.py Add api support for jobs 2015-06-21 18:13:54 +00:00
test_apiclient_client.py Add api support for jobs 2015-06-21 18:13:54 +00:00
test_apiclient_jobs.py Add api support for jobs 2015-06-21 18:13:54 +00:00
test_apiclient_registration.py freezer scheduler 2015-07-10 18:51:17 +01:00
test_apiclient_sessions.py freezer scheduler 2015-07-10 18:51:17 +01:00
test_arguments.py Reduce SQL Server downtime and Snapshot option on windows 2015-06-10 12:26:55 +01:00
test_backup.py add option to choose compression algorithm with choose between gzip, bzip2 and xz 2015-08-12 15:15:19 +02:00
test_bandwidth.py Cinder Volumes Backup 2015-05-20 10:38:59 +01:00
test_exec_cmd.py Add freezer exec action to execute script 2015-06-30 20:31:41 +02:00
test_job.py Plugable storages architecture and Local storage implementation 2015-07-28 13:05:12 +01:00
test_local.py add option to choose compression algorithm with choose between gzip, bzip2 and xz 2015-08-12 15:15:19 +02:00
test_lvm.py Plugable storages architecture and Local storage implementation 2015-07-28 13:05:12 +01:00
test_main.py Add freezer exec action to execute script 2015-06-30 20:31:41 +02:00
test_osclients.py Honor the env var OS_SERVICE_ENDPOINT so to be able to use adminURL or publicURL 2015-07-08 10:30:45 +00:00
test_restore.py Plugable storages architecture and Local storage implementation 2015-07-28 13:05:12 +01:00
test_scheduler_arguments.py freezer scheduler 2015-07-10 18:51:17 +01:00
test_scheduler_daemon.py freezer scheduler 2015-07-10 18:51:17 +01:00
test_storage.py add option to choose compression algorithm with choose between gzip, bzip2 and xz 2015-08-12 15:15:19 +02:00
test_swift.py Plugable storages architecture and Local storage implementation 2015-07-28 13:05:12 +01:00
test_tar_builders.py add option to choose compression algorithm with choose between gzip, bzip2 and xz 2015-08-12 15:15:19 +02:00
test_tar.py add option to choose compression algorithm with choose between gzip, bzip2 and xz 2015-08-12 15:15:19 +02:00
test_utils.py Improve test coverage of storage.py 2015-08-06 14:36:06 +01:00
test_vss.py Reduce SQL Server downtime and Snapshot option on windows 2015-06-10 12:26:55 +01:00
test_winutils.py Reduce SQL Server downtime and Snapshot option on windows 2015-06-10 12:26:55 +01:00