Skip to content

Commit 663f52e

Browse files
authored
Merge branch 'master' into yifeim-patch-1
2 parents c008970 + bfa6144 commit 663f52e

File tree

7 files changed

+23
-6
lines changed

7 files changed

+23
-6
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## v1.5.6 (2021-12-09)
4+
5+
### Bug Fixes and Other Changes
6+
7+
* Increase timeout for starting model server to 10 minutes
8+
* Fixing issue #82
9+
310
## v1.5.5 (2021-01-30)
411

512
### Bug Fixes and Other Changes

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.5.6.dev0
1+
1.5.7.dev0

buildspec-release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
version: 0.2
22

3+
env:
4+
variables:
5+
LC_ALL: "C.UTF-8"
6+
LANG: "C.UTF-8"
7+
38
phases:
49
pre_build:
510
commands:

buildspec.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
version: 0.2
22

3+
env:
4+
variables:
5+
LC_ALL: "C.UTF-8"
6+
LANG: "C.UTF-8"
7+
38
phases:
49
pre_build:
510
commands:
@@ -30,4 +35,4 @@ phases:
3035
- cd ../..
3136

3237
# run local integration tests
33-
- IGNORE_COVERAGE=- tox -e py27,py36,py37 -- test/integration/local
38+
- IGNORE_COVERAGE=- tox -e py27,py36,py37 -- -s test/integration/local

src/sagemaker_inference/model_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ def _install_requirements():
194194
raise ValueError("failed to install required packages")
195195

196196

197-
# retry for 10 seconds
198-
@retry(stop_max_delay=10 * 1000)
197+
# retry for 10 minutes
198+
@retry(wait_fixed=1000, stop_max_delay=10 * 60 * 1000)
199199
def _retrieve_mms_server_process():
200200
mms_server_processes = list()
201201

test/integration/local/test_dummy_multi_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def container():
3838
proc = subprocess.Popen(command.split(), stdout=sys.stdout, stderr=subprocess.STDOUT)
3939

4040
attempts = 0
41-
while attempts < 5:
41+
while attempts < 10:
4242
time.sleep(3)
4343
try:
4444
requests.get(PING_URL)

test/integration/local/test_mxnet_multi_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def container():
3838
proc = subprocess.Popen(command.split(), stdout=sys.stdout, stderr=subprocess.STDOUT)
3939

4040
attempts = 0
41-
while attempts < 5:
41+
while attempts < 10:
4242
time.sleep(3)
4343
try:
4444
requests.get(PING_URL)

0 commit comments

Comments
 (0)