From 0918cd453d749c2db70f49900dc627080489bc56 Mon Sep 17 00:00:00 2001 From: David Ames Date: Fri, 8 Dec 2017 15:32:42 -0800 Subject: [PATCH] Make xenial-pike the default smoke test Change-Id: Ib6a8db01d826ea604477cfa0963a4bd56aea198a --- src/tests/gate-basic-xenial-pike | 25 +++++++++++++++++++++++++ src/tox.ini | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100755 src/tests/gate-basic-xenial-pike diff --git a/src/tests/gate-basic-xenial-pike b/src/tests/gate-basic-xenial-pike new file mode 100755 index 0000000..9af1642 --- /dev/null +++ b/src/tests/gate-basic-xenial-pike @@ -0,0 +1,25 @@ +#!/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 ceph deployment on xenial-pike.""" + +from basic_deployment import CephFsBasicDeployment + +if __name__ == '__main__': + deployment = CephFsBasicDeployment(series='xenial', + openstack='cloud:xenial-pike', + source='cloud:xenial-updates/pike') + deployment.run_tests() diff --git a/src/tox.ini b/src/tox.ini index 276db2f..f201a20 100644 --- a/src/tox.ini +++ b/src/tox.ini @@ -35,7 +35,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-xenial-mitaka --no-destroy + bundletester -vl DEBUG -r json -o func-results.json gate-basic-xenial-pike --no-destroy [testenv:func27-dfs] # Run all deploy-from-source tests which are +x (may not always pass!)