Fix more Windows issues (#9011)

Co-authored-by: Mehrdad <noreply@github.com>
This commit is contained in:
mehrdadn
2020-06-19 18:51:45 -07:00
committed by GitHub
co-authored by Mehrdad
parent f8d49d69c1
commit 981f67bfb0
11 changed files with 61 additions and 59 deletions
+2 -1
View File
@@ -214,7 +214,8 @@ def test_worker_replica_failure(serve_instance):
def __call__(self):
pass
temp_path = tempfile.gettempdir() + "/" + serve.utils.get_random_letters()
temp_path = os.path.join(tempfile.gettempdir(),
serve.utils.get_random_letters())
serve.create_backend("replica_failure", Worker, temp_path)
serve.update_backend_config("replica_failure", {"num_replicas": 2})
serve.create_endpoint(