Skip to content

Commit

Permalink
tests: enable metadata failover tests
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeniy Zayats <[email protected]>
  • Loading branch information
Evgeniy Zayats committed Jun 16, 2024
1 parent ad9b733 commit 38ae8f3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions pytest_tests/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,7 @@ def not_owner_wallet(temp_directory) -> NodeWallet:
@allure.title("Enable metabase resync on start")
def enable_metabase_resync_on_start(neofs_env: NeoFSEnv):
for node in neofs_env.storage_nodes:
try:
node.set_metabase_resync(True)
except Exception:
node.set_metabase_resync(True)
node.set_metabase_resync(True)
yield
for node in neofs_env.storage_nodes:
node.set_metabase_resync(False)
Expand Down
1 change: 0 additions & 1 deletion pytest_tests/tests/failovers/test_failover_part.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ def user_container(user_wallet: NodeWallet, client_shell: Shell, neofs_env: NeoF


@pytest.mark.failover_part
@pytest.mark.skip(reason="Processes restarts currently affects other tests")
class TestFailoverNodePart(NeofsEnvTestBase):
@allure.title("Enable resync metabase, delete metadata and get object")
@pytest.mark.delete_metadata
Expand Down

0 comments on commit 38ae8f3

Please sign in to comment.