@@ -233,12 +233,12 @@ def test_workflow(var1: str, var2: str) -> float:
233233 # Verify that each "wave" of tasks started at the ~same time.
234234 for wave in range (num_waves ):
235235 for i in range (wave * limit , (wave + 1 ) * limit - 1 ):
236- assert times [i + 1 ] - times [i ] < 0.2
236+ assert times [i + 1 ] - times [i ] < 0.3
237237
238238 # Verify that the gap between "waves" is ~equal to the period
239239 for wave in range (num_waves - 1 ):
240- assert times [limit * (wave + 1 )] - times [limit * wave ] > period - 0.2
241- assert times [limit * (wave + 1 )] - times [limit * wave ] < period + 0.2
240+ assert times [limit * (wave + 1 )] - times [limit * wave ] > period - 0.3
241+ assert times [limit * (wave + 1 )] - times [limit * wave ] < period + 0.3
242242
243243 # Verify all workflows get the SUCCESS status eventually
244244 for h in handles :
@@ -300,12 +300,12 @@ def limited_workflow(var1: str, var2: str) -> float:
300300 # Verify that each "wave" of tasks started at the ~same time.
301301 for wave in range (num_waves ):
302302 for i in range (wave * limit , (wave + 1 ) * limit - 1 ):
303- assert times [i + 1 ] - times [i ] < 0.2
303+ assert times [i + 1 ] - times [i ] < 0.3
304304
305305 # Verify that the gap between "waves" is ~equal to the period
306306 for wave in range (num_waves - 1 ):
307- assert times [limit * (wave + 1 )] - times [limit * wave ] > period - 0.2
308- assert times [limit * (wave + 1 )] - times [limit * wave ] < period + 0.2
307+ assert times [limit * (wave + 1 )] - times [limit * wave ] > period - 0.3
308+ assert times [limit * (wave + 1 )] - times [limit * wave ] < period + 0.3
309309
310310 # Verify all workflows get the SUCCESS status eventually
311311 for h in handles :
0 commit comments