Browse Source

!153 Serving ci bug fix

From: @xu-yfei
Reviewed-by: @zhoufeng54,@zhangyinxia
Signed-off-by: @zhangyinxia
tags/v1.2.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
1bc9e73352
2 changed files with 3 additions and 4 deletions
  1. +2
    -3
      tests/ut/python/tests/test_mater_worker_client.py
  2. +1
    -1
      third_party/mindspore

+ 2
- 3
tests/ut/python/tests/test_mater_worker_client.py View File

@@ -414,7 +414,7 @@ def add_common(x1, x2):
worker.start_servable_in_master(base.servable_dir, base.servable_name)
master.start_grpc_server("0.0.0.0", 5500)
# Client
instance_count = 3
instance_count = 2

instances = []
y_data_list = []
@@ -454,7 +454,7 @@ def add_common(x1, x2):
worker.start_servable_in_master(base.servable_dir, base.servable_name)
master.start_grpc_server("0.0.0.0", 5500)
# Client
instance_count = 3
instance_count = 2

instances = []
y_data_list = []
@@ -470,7 +470,6 @@ def add_common(x1, x2):
assert len(result) == instance_count
assert result[0]["y"] == 0
assert result[1]["y"] == 1
assert result[2]["y"] == 0


@serving_test


+ 1
- 1
third_party/mindspore

@@ -1 +1 @@
Subproject commit a3d97206207cfd568ab4ec79cb803cdd8c1a4919
Subproject commit b5ad38fab8805ad3ac8486ab60d82ff71e8a2398

Loading…
Cancel
Save