Skip to content

Commit c504295

Browse files
authored
Skip a pdf in make docker-test with linux/arm64 (Unstructured-IO#413)
This test is hanging and blocking the docker publish.
1 parent 46c7551 commit c504295

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/smoketest.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ def send_document(
7575
("fake.odt", "application/vnd.oasis.opendocument.text"),
7676
# Note(austin) The two inference calls will hang on mac with unsupported hardware error
7777
# Skip these with SKIP_INFERENCE_TESTS=true make docker-test
78+
pytest.param(
79+
"layout-parser-paper.pdf.gz",
80+
"application/gzip",
81+
marks=pytest.mark.skipif(skip_inference_tests, reason="emulated architecture"),
82+
),
7883
pytest.param(
7984
"layout-parser-paper.pdf",
8085
"application/pdf",
@@ -94,7 +99,6 @@ def send_document(
9499
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
95100
),
96101
("fake-xml.xml", "text/xml"),
97-
("layout-parser-paper.pdf.gz", "application/gzip"),
98102
],
99103
)
100104
def test_happy_path(example_filename: str, content_type: str):

0 commit comments

Comments
 (0)