|
35 | 35 | class TestDeployDancerExTemplateWithoutMySQL:
|
36 | 36 |
|
37 | 37 | def setup_method(self):
|
38 |
| - self.oc_api = OpenShiftAPI(pod_name_prefix="perl-testing", version=VERSION) |
39 |
| - self.oc_api.import_is("imagestreams/perl-rhel.json", "", skip_check=True) |
| 38 | + self.oc_api = OpenShiftAPI(pod_name_prefix="perl-testing", version=VERSION, shared_cluster=True) |
40 | 39 |
|
41 | 40 | def teardown_method(self):
|
42 | 41 | self.oc_api.delete_project()
|
43 | 42 |
|
44 | 43 | def test_perl_template_inside_cluster(self):
|
| 44 | + if OS == "rhel10": |
| 45 | + pytest.skip("Do NOT test on RHEL10 yet.") |
| 46 | + self.oc_api.import_is("imagestreams/perl-rhel.json", "", skip_check=True) |
45 | 47 | service_name = "perl-testing"
|
46 | 48 | template_url = self.oc_api.get_raw_url_for_json(
|
47 | 49 | container="dancer-ex", dir="openshift/templates", filename="dancer.json", branch="master"
|
@@ -73,6 +75,8 @@ def teardown_method(self):
|
73 | 75 | self.oc_api.delete_project()
|
74 | 76 |
|
75 | 77 | def test_perl_template_inside_cluster(self):
|
| 78 | + if OS == "rhel10": |
| 79 | + pytest.skip("Do NOT test on RHEL10 yet.") |
76 | 80 | service_name = "perl-testing"
|
77 | 81 | template_url = self.oc_api.get_raw_url_for_json(
|
78 | 82 | container="dancer-ex", dir="openshift/templates", filename="dancer-mysql-persistent.json", branch="master"
|
|
0 commit comments