Skip to content

Commit 4abcfcf

Browse files
authored
chore: Remove a misleading error in docker smoketest (#175)
* chore: Remove a misleading error in docker smoketest Don't complain when stopping a container that doesn't exist. * comment stuff back in * version sync * regenrate api
1 parent 9e6014f commit 4abcfcf

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

Diff for: CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.0.35-dev0
2+
3+
* Fix a misleading error in make docker-test
4+
15
## 0.0.34
26

37
* Bump unstructured library to 0.9.0

Diff for: prepline_general/api/general.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ def return_content_type(filename):
481481

482482

483483
@router.post("/general/v0/general")
484-
@router.post("/general/v0.0.34/general")
484+
@router.post("/general/v0.0.35/general")
485485
def pipeline_1(
486486
request: Request,
487487
gz_uncompressed_content_type: Optional[str] = Form(default=None),

Diff for: preprocessing-pipeline-family.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
name: general
2-
version: 0.0.34
2+
version: 0.0.35

Diff for: scripts/docker-smoke-test.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ stop_container() {
6363
echo Stopping container "$CONTAINER_NAME"
6464
# Note (austin) - if you're getting an error from the api, try dumping the logs
6565
# docker logs $CONTAINER_NAME 2> docker_logs.txt
66-
docker stop "$CONTAINER_NAME"
66+
docker stop "$CONTAINER_NAME" 2> /dev/null || true
6767

6868
echo Stopping container "$CONTAINER_NAME_PARALLEL"
69-
docker stop "$CONTAINER_NAME_PARALLEL"
69+
docker stop "$CONTAINER_NAME_PARALLEL" 2> /dev/null || true
7070
}
7171

7272
# Always clean up the container

0 commit comments

Comments
 (0)