Enable functional tests for train
This patch also updates the smoke test to run train. Update designate.conf template to switch to use listen configuration stanza for Rocky and later; api_host/api_port have been dropped in Train. Depends-On: https://review.opendev.org/#/c/678249/ Change-Id: I1b7c4120a5942a9799de1e72ea55464fd27c76c0
This commit is contained in:
parent
6a6d833275
commit
a971729627
|
@ -85,12 +85,9 @@ enable_host_header = true
|
|||
# The base uri used in responses
|
||||
api_base_uri = '{{ options.external_endpoints.designate_api.url }}'
|
||||
|
||||
# Address to bind the API server
|
||||
# API host:port pairs to listen on (list value)
|
||||
# NOTE:tinwood - Listen on every interface; fix for BUG #1734156
|
||||
api_host = 0.0.0.0
|
||||
|
||||
# Port the bind the API server to
|
||||
api_port = '{{ options.service_listen_info.designate_api.port }}'
|
||||
listen = 0.0.0.0:{{ options.service_listen_info.designate_api.port }}
|
||||
|
||||
# Maximum line size of message headers to be accepted. max_header_line may
|
||||
# need to be increased when using large tokens (typically those generated by
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
# Copyright 2016 Canonical Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
|
||||
"""Amulet tests on a basic aodh deployment on bionic-train."""
|
||||
|
||||
from basic_deployment import DesignateBasicDeployment
|
||||
|
||||
if __name__ == '__main__':
|
||||
deployment = DesignateBasicDeployment(
|
||||
series='bionic',
|
||||
openstack='cloud:bionic-train',
|
||||
source='cloud:bionic-train')
|
||||
deployment.run_tests()
|
|
@ -43,7 +43,7 @@ commands =
|
|||
# Run a specific test as an Amulet smoke test (expected to always pass)
|
||||
basepython = python2.7
|
||||
commands =
|
||||
bundletester -vl DEBUG -r json -o func-results.json gate-basic-bionic-stein --no-destroy
|
||||
bundletester -vl DEBUG -r json -o func-results.json gate-basic-bionic-train --no-destroy
|
||||
|
||||
[testenv:func-dev]
|
||||
# Run all development test targets which are +x (may not always pass!)
|
||||
|
|
Loading…
Reference in New Issue