forked from TrueCloudLab/frostfs-testcases
[#184]: neofs verbs divided from neofs.py; HEAD responses are now
proccessed as JSON Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
This commit is contained in:
parent
e5d6662905
commit
7a21456201
43 changed files with 667 additions and 494 deletions
|
@ -19,6 +19,7 @@ def _cmd_run(cmd, timeout=30):
|
|||
in case of failure returns error message.
|
||||
"""
|
||||
try:
|
||||
logger.info(f"Executing command: {cmd}")
|
||||
compl_proc = subprocess.run(cmd, check=True, universal_newlines=True,
|
||||
stdout=subprocess.PIPE, stderr=subprocess.STDOUT, timeout=timeout,
|
||||
shell=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue