Skip to content
Snippets Groups Projects
Commit e7d922ea authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Test runner: even if yaml parsing fails, write the response out.

Write the test response out even if yaml parser fails.
parent 2f7b3f9b
No related branches found
No related tags found
No related merge requests found
......@@ -47,11 +47,12 @@ class AdminConnection(TarantoolConnection):
break
# validate yaml by parsing it
yaml.load(res)
if not silent:
sys.stdout.write(command + ADMIN_SEPARATOR)
sys.stdout.write(res.replace("\r\n", "\n"))
try:
yaml.load(res)
finally:
if not silent:
sys.stdout.write(command + ADMIN_SEPARATOR)
sys.stdout.write(res.replace("\r\n", "\n"))
return res
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment