summaryrefslogtreecommitdiffstats
path: root/tests/unit/api/utils
diff options
context:
space:
mode:
authorchenjiankun <chenjiankun1@huawei.com>2016-11-25 02:57:50 +0000
committerchenjiankun <chenjiankun1@huawei.com>2016-11-25 02:59:55 +0000
commite5b312fc2d09346c75be9e0df2aa9eb20ee4529f (patch)
tree10ee9bcfb27cd966b01af93d7afbfc2e3df2cf23 /tests/unit/api/utils
parent450c047a8812d3d9e772f26a2faeb17acef3e90a (diff)
ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option
JIRA: YARDSTICK-216 When I call YardstickCLI in flask, it will always encounter a ArgsAlreadyParsedError if the API run test case more than two times. In YardstickCLI, if I just call CONF.clear(), it will occur another error due to other opts not unregister. I don’t know if the problem is on the oslo.config side. I solve the problem by unregister the opts. Change-Id: Ic898c8d62625785ceb793c75e8210ac354ac63bf Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'tests/unit/api/utils')
0 files changed, 0 insertions, 0 deletions