CI: add CI unit test for simple fail deployment with 2 services

This commit is contained in:
Jaroslava Fiedlerova
2024-12-04 09:43:45 +01:00
parent c942fe43a9
commit e1d06cfef8
2 changed files with 32 additions and 0 deletions
+9
View File
@@ -65,6 +65,15 @@ class TestDeploymentMethods(unittest.TestCase):
self.assertFalse(deploy)
self.cont.yamlPath = old
def test_deployfails_2svc(self):
# fails reliably
old = self.cont.yamlPath
self.cont.yamlPath[0] = 'tests/simple-fail-2svc/'
deploy = self.cont.DeployObject(self.html)
self.cont.UndeployObject(self.html, self.ran)
self.assertFalse(deploy)
self.cont.yamlPath = old
def test_deploy_ran(self):
self.cont.yamlPath[0] = 'yaml_files/5g_rfsimulator_tdd_dora'
self.cont.services[0] = "oai-gnb"