commit | f129686ba89bb6b6ebce55bf06ae49c331a57212 | [log] [tgz] |
---|---|---|
author | Felipe Monteiro <felipe.monteiro@att.com> | Wed May 31 01:07:45 2017 +0100 |
committer | Felipe Monteiro <felipe.monteiro@att.com> | Sat Jun 10 19:15:56 2017 +0000 |
tree | c41803eff98d709dab45cef07d482985f779367f | |
parent | 337e00f308f645d1b1cefde97cb01ef13da5b0cc [diff] |
Fix volume backup tests throwing BadRequest Currently, if a volume fail to backup because of a timeout exception, then the volume may be in backing-up state for the next test, causing that test to in turn fail [0]. This commit prevents cascading failures across tests by creating a volume during each test run. This commit also replaces ``_create_backup`` with ``create_backup`` in Tempest's base volume class to simplify code. [0] http://logs.openstack.org/58/469258/1/check/gate-tempest-dsvm-patrole-multinode-admin-ubuntu-xenial-nv/03de6d3$ Change-Id: Iba788e1947087a6ffa59137087ac00087507f26a