Skip to content

Commit 06f7f42

Browse files
committed
ISSUE-957: chore(tests/containers): skip test for RHEL images due to known ISSUE-957/RHOAIENG-17256
1 parent 2d93640 commit 06f7f42

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/containers/workbenches/rstudio/rstudio_test.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,15 @@ class TestRStudioImage:
2525
APP_ROOT_HOME = "/opt/app-root/src"
2626

2727
@allure.issue("RHOAIENG-17256")
28-
def test_rmd_to_pdf_rendering(self, rstudio_image: str) -> None:
28+
def test_rmd_to_pdf_rendering(self, rstudio_image: docker.models.images.Image) -> None:
2929
"""
3030
References:
3131
https://stackoverflow.com/questions/40563479/relationship-between-r-markdown-knitr-pandoc-and-bookdown
3232
https://www.earthdatascience.org/courses/earth-analytics/document-your-science/knit-rmarkdown-document-to-pdf/
3333
"""
34+
if "rhel" in rstudio_image.labels['name']:
35+
pytest.skip("ISSUE-957, RHOAIENG-17256(comments): RStudio workbench on RHEL does not come with knitr preinstalled")
36+
3437
container = WorkbenchContainer(image=rstudio_image, user=1000, group_add=[0])
3538
try:
3639
container.start(wait_for_readiness=False)

0 commit comments

Comments
 (0)