Skip to content

Commit 20238c2

Browse files
authored
fix/skip docker parallel test on emulated hardware (Unstructured-IO#415)
One more off of Unstructured-IO#414 and Unstructured-IO#413...
1 parent f9aa5a4 commit 20238c2

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

scripts/docker-smoke-test.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,13 @@ PYTHONPATH=. SKIP_INFERENCE_TESTS=$SKIP_INFERENCE_TESTS pytest -vv scripts/smoke
8484
#######################
8585
# Test parallel vs single mode
8686
#######################
87-
start_container 9000 true
88-
await_server_ready 9000
87+
if ! $SKIP_INFERENCE_TESTS; then
88+
start_container 9000 true
89+
await_server_ready 9000
8990

90-
echo Running parallel mode test
91-
./scripts/parallel-mode-test.sh localhost:8000 localhost:9000
91+
echo Running parallel mode test
92+
./scripts/parallel-mode-test.sh localhost:8000 localhost:9000
93+
fi
9294

9395
result=$?
9496
exit $result

0 commit comments

Comments
 (0)