Delete object after put to container
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
This commit is contained in:
parent
01f4c5217d
commit
ead55f657f
1 changed files with 2 additions and 2 deletions
|
@ -85,11 +85,11 @@ class TestFailoverServer(ClusterTestBase):
|
||||||
for _ in range(count_object):
|
for _ in range(count_object):
|
||||||
object_list.append(cont.generate_object(size=random.choice(object_size)))
|
object_list.append(cont.generate_object(size=random.choice(object_size)))
|
||||||
|
|
||||||
yield object_list
|
|
||||||
|
|
||||||
for storage_object in object_list:
|
for storage_object in object_list:
|
||||||
os.remove(storage_object.file_path)
|
os.remove(storage_object.file_path)
|
||||||
|
|
||||||
|
yield object_list
|
||||||
|
|
||||||
@allure.step("Select random node to stop and start it after test")
|
@allure.step("Select random node to stop and start it after test")
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def node_to_stop(
|
def node_to_stop(
|
||||||
|
|
Loading…
Reference in a new issue