From 6fb3b952bbc0e2ef3075126d883e44054d4a2822 Mon Sep 17 00:00:00 2001 From: Frode Nordahl Date: Mon, 8 Apr 2019 13:50:17 +0200 Subject: [PATCH] Enable bionic/stein and disco/stein functional tests Change-Id: I678e01a400ef176d38270f9aa96e225d16c5cc6a --- tests/dev-basic-disco-stein | 23 +++++++++++++++++++++++ tests/gate-basic-bionic-stein | 24 ++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100755 tests/dev-basic-disco-stein create mode 100755 tests/gate-basic-bionic-stein diff --git a/tests/dev-basic-disco-stein b/tests/dev-basic-disco-stein new file mode 100755 index 0000000..b1ce670 --- /dev/null +++ b/tests/dev-basic-disco-stein @@ -0,0 +1,23 @@ +#!/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 ceilometer-agent deployment on disco-stein.""" + +from basic_deployment import CeiloAgentBasicDeployment + +if __name__ == '__main__': + deployment = CeiloAgentBasicDeployment(series='disco') + deployment.run_tests() diff --git a/tests/gate-basic-bionic-stein b/tests/gate-basic-bionic-stein new file mode 100755 index 0000000..a5b3f2b --- /dev/null +++ b/tests/gate-basic-bionic-stein @@ -0,0 +1,24 @@ +#!/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 ceilometer-agent deployment on bionic-stein.""" + +from basic_deployment import CeiloAgentBasicDeployment + +if __name__ == '__main__': + deployment = CeiloAgentBasicDeployment(series='bionic', + openstack='cloud:bionic-stein') + deployment.run_tests()