diff options
author | chenjiankun <chenjiankun1@huawei.com> | 2016-11-25 02:57:50 +0000 |
---|---|---|
committer | chenjiankun <chenjiankun1@huawei.com> | 2016-11-25 02:59:55 +0000 |
commit | e5b312fc2d09346c75be9e0df2aa9eb20ee4529f (patch) | |
tree | 10ee9bcfb27cd966b01af93d7afbfc2e3df2cf23 /docs | |
parent | 450c047a8812d3d9e772f26a2faeb17acef3e90a (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 'docs')
0 files changed, 0 insertions, 0 deletions