diff options
author | Abhijit Sinha <abhijit.sinha@intel.com> | 2018-08-03 13:23:40 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-08-03 13:23:40 +0000 |
commit | c17fc5c708b22ae77c8877ee6c791941ee267e82 (patch) | |
tree | f5bf1bf8c18e57b29b5bdd8a4525ffc506e78966 /docs/testing/ecosystem/energy-monitoring.rst | |
parent | bc2cd569aed74f5dc424971248be974c88eea467 (diff) |
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "Change AutoConnectSSH to return error code by default"
- Change AutoConnectSSH to return error code by default
AutoConnectSSH execute method always returns exception when remote
command returns non 0 ret code. This behavior has been introduced
by https://gerrit.opnfv.org/gerrit/#/c/58579/ changes which break
the NSB functionality. There are 200+ places where return code
(event non zoro) is expected to be returned by
AutoConnectSSH.execute() method. Right now the method returns
always exception in case of remote command return not zero which
causes the problem.
Changed execute() method to have previous behavior (raise_on_error
is always False by default) and the exception is raised only in
case if raise_on_error=True is set explicitly.
Added UT.
JIRA: YARDSTICK-1365
Change-Id: Ib067583ea5eb704b9174084b45b920c24eb307ac
Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
Diffstat (limited to 'docs/testing/ecosystem/energy-monitoring.rst')
0 files changed, 0 insertions, 0 deletions