MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT-LLM / slow_method

Method slow_method

tests/unittest/executor/test_rpc.py:343–346  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

341 class App:
342
343 def slow_method(self):
344 # Sleep longer than the timeout
345 time.sleep(2.0)
346 return "completed"
347
348 with RpcServerWrapper(App()) as server:
349 time.sleep(0.1)

Callers 1

test_timeout_errorMethod · 0.80

Calls 1

sleepMethod · 0.80

Tested by

no test coverage detected