stepfunctions-local: wait-time-scale has no effect

0

Hello,

we are trying to use stepfunctions-local (Docker version) and Mocked Service Integrations to unit test our state machines. So far, it works great. The problem is, that the tests take too long, when there is a Wait or Retry logic in the step machine. stepfunctions-local execution waits the time that is defined in the state machine definition. I've seen that stepfunctions-local has the (rather undocumented) parameter WAIT_TIME_SCALE.

From the Docs: https://docs.aws.amazon.com/step-functions/latest/dg/sfn-local-config-options.html

Enter image description here

I've set it to 0 but the execution still waits the seconds we specified in the definition, which makes the unit test unnecessarily slow. Can you help me understand wether I'm doing something wrong? What is the WAIT_TIME_SCALE parameter anyway?

Thanks! Enes

已提問 2 年前檢視次數 115 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南