Skip to content

Commit db7d3da

Browse files
author
Evgeniy Zayats
committed
env: handle SN data removal properly
Signed-off-by: Evgeniy Zayats <[email protected]>
1 parent bac5679 commit db7d3da

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
neofs_other_expiration_period: ${{ vars.OTHER_EXPIRATION_PERIOD }}
3737
neofs_testcases_commit: ${{ inputs.neofs_testcases_ref }}
3838
tests_parallel_level: 3
39+
neofs_node_commit: 'master'
3940
os: >
4041
[{"runner": "ubuntu-latest", "binary": "linux-amd64"},
4142
{"runner": "macos-14", "binary": "darwin-arm64", "shard": 0},

neofs-testlib/neofs_testlib/env/env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1351,7 +1351,7 @@ def delete_data(self):
13511351
self.stop()
13521352
for shard in self.shards:
13531353
os.remove(shard.metabase_path)
1354-
os.rmdir(shard.fstree_path)
1354+
shutil.rmtree(shard.fstree_path, ignore_errors=True)
13551355
os.remove(shard.pilorama_path)
13561356
shutil.rmtree(shard.wc_path, ignore_errors=True)
13571357
os.remove(self.state_file)

0 commit comments

Comments
 (0)