Add failover tests for storage nodes

The tests are aimed to work on cloud infrastructure (SberCloud VMs)

Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
This commit is contained in:
Vladimir Avdeev 2022-07-11 17:11:26 +03:00 committed by Vladimir Domnich
parent 014a1fee95
commit 93a52b4a66
4 changed files with 216 additions and 1 deletions

View file

@ -49,6 +49,7 @@ def init_wallet_with_address():
@allure.title('Prepare tmp directory')
def prepare_tmp_dir():
full_path = f'{os.getcwd()}/{ASSETS_DIR}'
shutil.rmtree(full_path, ignore_errors=True)
os.mkdir(full_path)
yield
shutil.rmtree(full_path)