]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Update default Ubuntu version to 16.04 1071/head
authorZack Cerza <zack@redhat.com>
Thu, 4 May 2017 21:14:58 +0000 (15:14 -0600)
committerZack Cerza <zack@redhat.com>
Thu, 4 May 2017 21:32:15 +0000 (15:32 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/orchestra/opsys.py
teuthology/test/test_get_distro_version.py
teuthology/test/test_packaging.py

index 3f08c5030cbb53cf86531dca0296d44234593d90..556a143ca77734e70ea2ea40f200c56256d520dc 100644 (file)
@@ -28,7 +28,7 @@ DISTRO_CODENAME_MAP = {
 }
 
 DEFAULT_OS_VERSION = dict(
-    ubuntu="14.04",
+    ubuntu="16.04",
     fedora="20",
     centos="7.0",
     opensuse="12.2",
index 0a0bd7a4d8747ff6aa5133292f8a60490dae7b16..75f8154dcf680608ada000ab7b13be64108eed3f 100644 (file)
@@ -17,10 +17,10 @@ class TestGetDistroVersion(object):
         self.fake_ctx_noarg.os_type = None
 
     def test_default_distro_version(self):
-        #Default distro is ubuntu, default version of ubuntu is 12.04
+        # Default distro is ubuntu, default version of ubuntu is 16.04
         self.fake_ctx.os_version = None
         distroversion = get_distro_version(self.fake_ctx)
-        assert distroversion == '14.04'
+        assert distroversion == '16.04'
 
     def test_argument_version(self):
         self.fake_ctx.os_version = '13.04'
index dec12a12f2bb6503a9a74b8977ab9292051d5792..fdb0b37d639948e0bc6a44882695cb627d33b189 100644 (file)
@@ -477,7 +477,7 @@ class TestBuilderProject(object):
         ('rhel', None, None, 'centos7'),
         ('centos', None, None, 'centos7'),
         ('fedora', None, None, 'fedora20'),
-        ('ubuntu', None, None, 'trusty'),
+        ('ubuntu', None, None, 'xenial'),
         ('debian', None, None, 'wheezy'),
     ]
 
@@ -754,6 +754,6 @@ class TestShamanProject(TestBuilderProject):
         ('rhel', None, None, 'centos/7'),
         ('centos', None, None, 'centos/7'),
         ('fedora', None, None, 'fedora/20'),
-        ('ubuntu', None, None, 'ubuntu/14.04'),
+        ('ubuntu', None, None, 'ubuntu/16.04'),
         ('debian', None, None, 'debian/7.0'),
     ]