[openstack-dev] [zun][unit test] Could anyone help one the unittest fail?
Hongbin Lu
hongbin.lu at huawei.com
Thu Jul 27 07:02:59 UTC 2017
Hi Shunli,
Sorry for the late reply, I saw you uploaded a revision of the patch and got the gate pass. I guess you have resolved this issue?
Best regards,
Hongbin
From: Shunli Zhou [mailto:shunli6658 at gmail.com]
Sent: July-25-17 10:20 PM
To: openstack-dev at lists.openstack.org
Subject: [openstack-dev] [zun][unit test] Could anyone help one the unittest fail?
Could anyone help on the unittest fail about the pecan api, refer to http://logs.openstack.org/31/486931/1/check/gate-zun-python27-ubuntu-xenial/c329b47/console.html#_2017-07-25_08_13_05_180414
I have two api, they are added in two patches. The first is HostController:get_all, which list all the zun host. The second is the HostController:get_one. So the get_all version restrict to 1.4 and get_one version is restricted to 1.5.
Not know why the pecan will call get_one when test get_all. I debugged the code, the pecan first call get_all with version 1.4, and everything is ok, but after that pecan will also route the request to get_one, which requires 1.5 version. And then the test failed. The code works fine in devstack.
Could anyone help me why the test failed, what's wrong about the test code?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170727/872148af/attachment.html>
More information about the OpenStack-dev
mailing list