Fix CI failure

Functional test CI is broken.

Change-Id: Ia06f6306ac9b1fbbd5b9630f9b2972a85b1ea096
This commit is contained in:
wangxiyuan 2016-12-01 15:27:37 +08:00
parent 6b9123ac95
commit 476f48ebdd
11 changed files with 5 additions and 14 deletions

View File

@ -22,7 +22,6 @@ class QueuesV1ClaimHttpFunctionalTest(claims.QueuesV1ClaimFunctionalTest):
is_functional = True is_functional = True
transport_cls = http.HttpTransport transport_cls = http.HttpTransport
url = 'http://127.0.0.1:8888'
version = 1 version = 1
@ -30,5 +29,4 @@ class QueuesV1_1ClaimHttpFunctionalTest(claims.QueuesV1_1ClaimFunctionalTest):
is_functional = True is_functional = True
transport_cls = http.HttpTransport transport_cls = http.HttpTransport
url = 'http://127.0.0.1:8888'
version = 1.1 version = 1.1

View File

@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
from zaqarclient.tests.queues import flavor from zaqarclient.tests.queues import flavor
from zaqarclient.transport import http from zaqarclient.transport import http
@ -23,5 +22,4 @@ class QueuesV1_1FlavorHttpFunctionalTest(
is_functional = True is_functional = True
transport_cls = http.HttpTransport transport_cls = http.HttpTransport
url = 'http://127.0.0.1:8888'
version = 1.1 version = 1.1

View File

@ -22,5 +22,4 @@ class QueuesV1_1PoolHttpFunctionalTest(pool.QueuesV1_1PoolFunctionalTest):
is_functional = True is_functional = True
transport_cls = http.HttpTransport transport_cls = http.HttpTransport
url = 'http://127.0.0.1:8888'
version = 1.1 version = 1.1

View File

@ -22,7 +22,6 @@ class QueuesV1QueueHttpFunctionalTest(queues.QueuesV1QueueFunctionalTest):
is_functional = True is_functional = True
transport_cls = http.HttpTransport transport_cls = http.HttpTransport
url = 'http://127.0.0.1:8888'
version = 1 version = 1
@ -30,5 +29,4 @@ class QueuesV1_1QueueHttpFunctionalTest(queues.QueuesV1_1QueueFunctionalTest):
is_functional = True is_functional = True
transport_cls = http.HttpTransport transport_cls = http.HttpTransport
url = 'http://127.0.0.1:8888'
version = 1.1 version = 1.1

View File

@ -21,5 +21,4 @@ class QueuesV2ClaimHttpFunctionalTest(claims.QueuesV2ClaimFunctionalTest):
is_functional = True is_functional = True
transport_cls = http.HttpTransport transport_cls = http.HttpTransport
url = 'http://127.0.0.1:8888'
version = 2 version = 2

View File

@ -22,5 +22,4 @@ class QueuesV2FlavorHttpFunctionalTest(flavor.QueuesV2FlavorFunctionalTest):
is_functional = True is_functional = True
transport_cls = http.HttpTransport transport_cls = http.HttpTransport
url = 'http://127.0.0.1:8888'
version = 2 version = 2

View File

@ -23,5 +23,4 @@ class QueuesV2HealthHttpFunctionalTest(
is_functional = True is_functional = True
transport_cls = http.HttpTransport transport_cls = http.HttpTransport
url = 'http://127.0.0.1:8888'
version = 2 version = 2

View File

@ -22,5 +22,4 @@ class QueuesV2PoolHttpFunctionalTest(pool.QueuesV2PoolFunctionalTest):
is_functional = True is_functional = True
transport_cls = http.HttpTransport transport_cls = http.HttpTransport
url = 'http://127.0.0.1:8888'
version = 2 version = 2

View File

@ -22,5 +22,4 @@ class QueuesV2QueueHttpFunctionalTest(queues.QueuesV2QueueFunctionalTest):
is_functional = True is_functional = True
transport_cls = http.HttpTransport transport_cls = http.HttpTransport
url = 'http://127.0.0.1:8888'
version = 2 version = 2

View File

@ -23,5 +23,4 @@ class QueuesV2SubscriptionHttpFunctionalTest(
is_functional = True is_functional = True
transport_cls = http.HttpTransport transport_cls = http.HttpTransport
url = 'http://127.0.0.1:8888'
version = 2 version = 2

View File

@ -14,16 +14,20 @@
# limitations under the License. # limitations under the License.
import mock import mock
from oslo_utils import netutils
from zaqarclient.queues import client from zaqarclient.queues import client
from zaqarclient.tests import base from zaqarclient.tests import base
from zaqarclient.tests.transport import dummy from zaqarclient.tests.transport import dummy
MY_IP = netutils.get_my_ipv4()
class QueuesTestBase(base.TestBase): class QueuesTestBase(base.TestBase):
transport_cls = dummy.DummyTransport transport_cls = dummy.DummyTransport
url = 'http://127.0.0.1:8888/v1' url = 'http://%s:8888' % MY_IP
version = 1 version = 1
def setUp(self): def setUp(self):