File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tests/test_simpleflow/swf Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -200,11 +200,11 @@ def test_jumbo_fields_in_task_failed_is_decoded(self):
200200 activity_result_evt = events [- 2 ]
201201 assert activity_result_evt ["eventType" ] == "ActivityTaskFailed"
202202 attrs = activity_result_evt ["activityTaskFailedEventAttributes" ]
203- expect (attrs ["reason" ]).to .match (r"simpleflow\+s3://jumbo-bucket/[a-z0-9-]+ 18 \d{4}" )
204- expect (attrs ["details" ]).to .match (r"simpleflow\+s3://jumbo-bucket/[a-z0-9-]+ 18 \d{4}" )
203+ expect (attrs ["reason" ]).to .match (r"simpleflow\+s3://jumbo-bucket/[a-z0-9-]+ 9 \d{4}" )
204+ expect (attrs ["details" ]).to .match (r"simpleflow\+s3://jumbo-bucket/[a-z0-9-]+ 9 \d{4}" )
205205 details = format .decode (attrs ["details" ])
206206 expect (details ["error" ]).to .equal ("ValueError" )
207- expect (len (details ["message" ])).to .be .greater_than (9 * 10000 )
207+ expect (len (details ["message" ])).to .be .greater_than (9 * 10_000 )
208208
209209 # decide again (should lead to workflow failure)
210210 result = self .build_decisions (ExampleJumboWorkflow )
You can’t perform that action at this time.
0 commit comments