diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2018-04-17 17:07:43 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-04-18 00:16:19 +0000 |
commit | 59698ebe73ced07a730bf2779ebb54d92bfa85d2 (patch) | |
tree | 0ea7fe6d295635061418c8ebe9d3f6459e261023 /docs/_templates | |
parent | b1d99d534838990e900962454f0c0c2240433694 (diff) |
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- fix unittest test_deploy_try_retrieve_context_does_not_exist
unittest is failing due to mock being called multiple times.
I assume this is due to parallelization of tests in Jenkins somehow
======================================================================
FAIL: test_deploy_try_retrieve_context_does_not_exist (benchmark.contexts.test_heat.HeatContextTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jenkins/opnfv/slave_root/workspace/yardstick-verify-master/.tox/py3/lib/python3.5/site-packages/mock/mock.py", line 1305, in patched
return func(*args, **keywargs)
File "/home/jenkins/opnfv/slave_root/workspace/yardstick-verify-master/yardstick/tests/unit/benchmark/contexts/test_heat.py", line 309, in test_deploy_try_retrieve_context_does_not_exist
mock_path_exists.assert_called_once_with(key_filename)
File "/home/jenkins/opnfv/slave_root/workspace/yardstick-verify-master/.tox/py3/lib/python3.5/site-packages/mock/mock.py", line 947, in assert_called_once_with
raise AssertionError(msg)
AssertionError: Expected 'exists' to be called once. Called 3 times.
----------------------------------------------------------------------
Change-Id: I696c63ef9f7943b841e2d3d533c92f18aa7044da
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'docs/_templates')
0 files changed, 0 insertions, 0 deletions