diff options
| author | Sam Yaple <sam@yaple.net> | 2015-10-13 07:01:07 +0000 |
|---|---|---|
| committer | Sam Yaple <sam@yaple.net> | 2015-10-20 19:15:33 +0000 |
| commit | f39bb2ee13a10d17d5ef1410489c9804fc1c014a (patch) | |
| tree | 3a4e93dde582d9eb840da53b2900f5f63d1fb728 /tests/test_build.py | |
| parent | 7b73bc95ac7e4e14f9fccad060d2e373826d9397 (diff) | |
| download | kolla-f39bb2ee13a10d17d5ef1410489c9804fc1c014a.tar.gz kolla-f39bb2ee13a10d17d5ef1410489c9804fc1c014a.zip | |
In gate functional testing
This runs the ansible playbooks to completion.
It does not validate that OpenStack is working yet, but it will ensure
Ansible did not break.
Additional gates will be needed for this and there is a patch in
project-config to handle that.
Change-Id: I7a24a704023cc8f19d42844636e9cb512060f693
backport: liberty
Partially-Implements: blueprint functional-testing-gate
Diffstat (limited to 'tests/test_build.py')
| -rw-r--r-- | tests/test_build.py | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/tests/test_build.py b/tests/test_build.py index 8feb98d00..948e165ac 100644 --- a/tests/test_build.py +++ b/tests/test_build.py @@ -59,8 +59,7 @@ class BuildTest(base.BaseTestCase): LOG.critical(">>> Expected image '%s' to succeed!" % image) for image in unmatched_results.keys(): - failures = failures + 1 - LOG.critical(">>> Expected image '%s' to be matched!" % image) + LOG.warning(">>> Image '%s' was not matched" % image) self.assertEqual(failures, 0, "%d failure(s) occurred" % failures) @@ -84,3 +83,27 @@ class BuildTestUbuntuSource(BuildTest): super(BuildTestUbuntuSource, self).setUp() self.build_args.extend(["--base", "ubuntu", "--type", "source"]) + + +class DeployTestCentosBinary(BuildTest): + def setUp(self): + super(BuildTestCentosBinary, self).setUp() + self.build_args.extend(["--base", "centos", + "--type", "binary", + "--profile", "gate"]) + + +class DeployTestCentosSource(BuildTest): + def setUp(self): + super(BuildTestCentosSource, self).setUp() + self.build_args.extend(["--base", "centos", + "--type", "source", + "--profile", "gate"]) + + +class DeployTestUbuntuSource(BuildTest): + def setUp(self): + super(BuildTestUbuntuSource, self).setUp() + self.build_args.extend(["--base", "ubuntu", + "--type", "source", + "--profile", "gate"]) |
