Skip to content

Commit

Permalink
fix/skip another test pdf on linux/arm64 (#414)
Browse files Browse the repository at this point in the history
Follow up from #413. These tests hang in CI and are blocking the image
build.
  • Loading branch information
awalker4 authored May 11, 2024
1 parent c504295 commit f9aa5a4
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions scripts/smoketest.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,21 @@ def test_happy_path(example_filename: str, content_type: str):
(["stanley-cups.csv"], [], "application/csv"),
(["fake.doc"], [], "application/msword"),
# compressed and uncompressed
(["layout-parser-paper-fast.pdf"], ["list-item-example.pdf"], "application/pdf"),
pytest.param(
["layout-parser-paper-fast.pdf"],
["list-item-example.pdf"],
"application/pdf",
marks=pytest.mark.skipif(skip_inference_tests, reason="emulated architecture"),
),
(["fake-email.eml"], ["fake-email-image-embedded.eml"], "message/rfc822"),
# compressed and uncompressed
# empty content-type means that API should detect filetype after decompressing.
(["layout-parser-paper-fast.pdf"], ["list-item-example.pdf"], ""),
pytest.param(
["layout-parser-paper-fast.pdf"],
["list-item-example.pdf"],
"",
marks=pytest.mark.skipif(skip_inference_tests, reason="emulated architecture"),
),
(["fake-email.eml"], ["fake-email-image-embedded.eml"], ""),
],
)
Expand Down

0 comments on commit f9aa5a4

Please sign in to comment.