Browse Source

Disable most tests

Change-Id: I9d570c9f6b7db06b0b96566c6e0313e557c0ba42
changes/19/255019/1
James E. Blair 6 years ago
parent
commit
509cada14b
  1. 2
      tests/test_cloner.py
  2. 9
      tests/test_connection.py
  3. 3
      tests/test_requirements.py
  4. 3
      tests/test_scheduler.py
  5. 2
      tests/test_webapp.py
  6. 3
      tests/test_zuultrigger.py

2
tests/test_cloner.py

@ -37,6 +37,8 @@ class TestCloner(ZuulTestCase):
workspace_root = None
def setUp(self):
self.skip("Disabled for early v3 development")
super(TestCloner, self).setUp()
self.workspace_root = os.path.join(self.test_root, 'workspace')

9
tests/test_connection.py

@ -21,6 +21,9 @@ from tests.base import ZuulTestCase
class TestGerritConnection(testtools.TestCase):
def setUp(self):
self.skip("Disabled for early v3 development")
log = logging.getLogger("zuul.test_connection")
def test_driver_name(self):
@ -29,6 +32,9 @@ class TestGerritConnection(testtools.TestCase):
class TestConnections(ZuulTestCase):
def setUp(self):
self.skip("Disabled for early v3 development")
def setup_config(self, config_file='zuul-connections-same-gerrit.conf'):
super(TestConnections, self).setup_config(config_file)
@ -60,6 +66,9 @@ class TestConnections(ZuulTestCase):
class TestMultipleGerrits(ZuulTestCase):
def setUp(self):
self.skip("Disabled for early v3 development")
def setup_config(self,
config_file='zuul-connections-multiple-gerrits.conf'):
super(TestMultipleGerrits, self).setup_config(config_file)

3
tests/test_requirements.py

@ -27,6 +27,9 @@ logging.basicConfig(level=logging.DEBUG,
class TestRequirements(ZuulTestCase):
"""Test pipeline and trigger requirements"""
def setUp(self):
self.skip("Disabled for early v3 development")
def test_pipeline_require_approval_newer_than(self):
"Test pipeline requirement: approval newer than"
return self._test_require_approval_newer_than('org/project1',

3
tests/test_scheduler.py

@ -80,6 +80,9 @@ jobs:
class TestScheduler(ZuulTestCase):
def setUp(self):
self.skip("Disabled for early v3 development")
def test_jobs_launched(self):
"Test that jobs are launched and a change is merged"

2
tests/test_webapp.py

@ -29,6 +29,8 @@ class TestWebapp(ZuulTestCase):
self.waitUntilSettled()
def setUp(self):
self.skip("Disabled for early v3 development")
super(TestWebapp, self).setUp()
self.addCleanup(self._cleanup)
self.worker.hold_jobs_in_build = True

3
tests/test_zuultrigger.py

@ -26,6 +26,9 @@ logging.basicConfig(level=logging.DEBUG,
class TestZuulTrigger(ZuulTestCase):
"""Test Zuul Trigger"""
def setUp(self):
self.skip("Disabled for early v3 development")
def test_zuul_trigger_parent_change_enqueued(self):
"Test Zuul trigger event: parent-change-enqueued"
self.config.set('zuul', 'layout_config',

Loading…
Cancel
Save