[#342] Remove try-catch from delete block #342

Merged
abereziny merged 1 commit from abereziny/frostfs-testlib:feature--14317 into master 2024-12-24 09:54:59 +00:00
Showing only changes of commit 6e951443ed - Show all commits

View file

@ -181,20 +181,17 @@ class ContainerOperations(interfaces.ContainerInterface):
force: bool = False,
trace: bool = False,
):
try:
return self.cli.container.delete(
rpc_endpoint=endpoint,
cid=cid,
address=address,
await_mode=await_mode,
session=session,
ttl=ttl,
xhdr=xhdr,
force=force,
trace=trace,
).stdout
except RuntimeError as e:
print(f"Error request:\n{e}")
return self.cli.container.delete(
rpc_endpoint=endpoint,
cid=cid,
address=address,
await_mode=await_mode,
session=session,
ttl=ttl,
xhdr=xhdr,
force=force,
trace=trace,
).stdout
@reporter.step("Get container")
def get(