The freezer.tests.integration.test_agent Module

The freezer.tests.integration.test_agent Module

class freezer.tests.integration.test_agent.TestBackupFSLocalstorage(methodName='runTest')

Bases: freezer.tests.integration.common.TestFS

test_backup_local_storage_use_lvm_snapshot_and_path_to_backup(*args, **kwargs)
test_backup_preexisting_dir()

Use external pre-defined directory for tests. If directory does not exist, then skip

Restore to temporary folder (removed on exit) :return:

test_backup_single_level()

How it works?

  • use the default source and destination trees in /tmp (see common.TestFS)
  • use temporary directory for backup storage
  • add some random data
  • check that trees don’t match anymore
  • execute backup of source tree
  • execute restore into destination tree
  • check that source and destination trees match
Returns:non on success
test_trees()
class freezer.tests.integration.test_agent.TestBackupSSH(methodName='runTest')

Bases: freezer.tests.integration.common.TestFS

Tests are executed if the following env vars are defined:

  • FREEZER_TEST_SSH_KEY
  • FREEZER_TEST_SSH_USERNAME
  • FREEZER_TEST_SSH_HOST
  • FREEZER_TEST_CONTAINER (directory on the remote machine used to store backups)
test_backup_ssh(*args, **kwargs)
test_backup_ssh_incremental(*args, **kwargs)
test_backup_ssh_incremental_with_lvm(*args, **kwargs)
class freezer.tests.integration.test_agent.TestBackupUsingSwiftStorage(methodName='runTest')

Bases: freezer.tests.integration.common.TestFS

Tests are executed if the following env vars are defined:

  • FREEZER_TEST_OS_TENANT_NAME
  • FREEZER_TEST_OS_USERNAME
  • FREEZER_TEST_OS_REGION_NAME
  • FREEZER_TEST_OS_PASSWORD
  • FREEZER_TEST_OS_AUTH_URL
test_backup_os_simple(*args, **kwargs)
test_backup_os_simple_with_bandwidth_limit(*args, **kwargs)
test_backup_os_simple_with_bzip2(*args, **kwargs)
test_backup_swift_mysql(*args, **kwargs)
class freezer.tests.integration.test_agent.TestSimpleExecution(methodName='runTest')

Bases: freezer.tests.integration.common.TestFS

test_freezerc_executes()
test_freezerc_fails_with_wrong_params()
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

freezer 6.0.1.dev8