I am developing test cases using time skipping test envrionment and I get the following error when on second sleep. How should I interpret this error?
Thanks for helping
await workflow_env.sleep(td)
.venv/lib/python3.9/site-packages/temporalio/testing/_workflow.py:425: in sleep
await self._client.test_service.unlock_time_skipping_with_sleep(req)
.venv/lib/python3.9/site-packages/temporalio/service.py:658: in __call__
return await self.service_client._rpc_call(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <temporalio.service._BridgeServiceClient object at 0x1071222e0>
rpc = 'unlock_time_skipping_with_sleep', req = duration {
seconds: 5400
}
resp_type = <class 'temporal.api.testservice.v1.request_response_pb2.SleepResponse'>
async def _rpc_call(
self,
rpc: str,
req: google.protobuf.message.Message,
resp_type: Type[ServiceResponse],
*,
service: str,
retry: bool,
metadata: Mapping[str, str],
timeout: Optional[timedelta],
) -> ServiceResponse:
global LOG_PROTOS
.venv/lib/python3.9/site-packages/temporalio/testing/_workflow.py:425: in sleep
await self._client.test_service.unlock_time_skipping_with_sleep(req)
.venv/lib/python3.9/site-packages/temporalio/service.py:658: in __call__
return await self.service_client._rpc_call(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <temporalio.service._BridgeServiceClient object at 0x1071222e0>
rpc = 'unlock_time_skipping_with_sleep', req = duration {
seconds: 5400
}
resp_type = <class 'temporal.api.testservice.v1.request_response_pb2.SleepResponse'>
async def _rpc_call(
self,
rpc: str,
req: google.protobuf.message.Message,
resp_type: Type[ServiceResponse],
*,
service: str,
retry: bool,
metadata: Mapping[str, str],
timeout: Optional[timedelta],
) -> ServiceResponse:
global LOG_PROTOS
if LOG_PROTOS:
logger.debug("Service %s request to %s: %s", service, rpc, req)
try:
client = await self._connected_client()
resp = await client.call(
service=service,
rpc=rpc,
req=req,
resp_type=resp_type,
retry=retry,
metadata=metadata,
timeout=timeout,
)
if LOG_PROTOS:
logger.debug("Service %s response from %s: %s", service, rpc, resp)
return resp
except temporalio.bridge.client.RPCError as err:
# Intentionally swallowing the cause instead of using "from"
status, message, details = err.args
> raise RPCError(message, RPCStatusCode(status), details)
E temporalio.service.RPCError: Timeout expired