Skip to content

Commit fdbb62b

Browse files
committed
test(mlserver): remove unnecessary sleep before inferencing
Signed-off-by: Snomaan6846 <syedali@redhat.com>
1 parent 06506c4 commit fdbb62b

File tree

1 file changed

+0
-3
lines changed
  • tests/model_serving/model_runtime/mlserver

1 file changed

+0
-3
lines changed

tests/model_serving/model_runtime/mlserver/utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
import os
1212
import json
13-
import time
1413
import base64
1514
import subprocess
1615
from contextlib import contextmanager
@@ -237,8 +236,6 @@ def validate_inference_request(
237236
AssertionError: If the actual response does not match the snapshot.
238237
"""
239238

240-
# Sleeping for 5 secs for model loading properly.
241-
time.sleep(5)
242239
response = run_mlserver_inference(
243240
pod_name=pod_name,
244241
isvc=isvc,

0 commit comments

Comments
 (0)