Skip to content

Commit d4b372b

Browse files
committed
Do not test imagestreams on RHEL10. They do not exist yet
Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
1 parent db143b3 commit d4b372b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

test/test_httpd_imagestream_s2i.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ def teardown_method(self):
2626
self.oc_api.delete_project()
2727

2828
def test_inside_cluster(self):
29+
if VERSION == "rhel10":
30+
pytest.skip("Do NOT test on RHEL10.")
2931
os_name = ''.join(i for i in OS if not i.isdigit())
3032
assert self.oc_api.deploy_imagestream_s2i(
3133
imagestream_file=f"imagestreams/httpd-{os_name}.json",

test/test_httpd_shared_helm_template.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ def test_package_persistent_by_curl(self):
5858
)
5959

6060
def test_package_persistent_by_helm_chart_test(self):
61+
if OS == "rhel10":
62+
pytest.skip("Do NOT test on RHEL10.")
6163
new_version = VERSION
6264
if "micro" in VERSION:
6365
new_version = VERSION.replace("-micro", "")

0 commit comments

Comments
 (0)