Commit 3c1153a
authored
fix(tests): accept '/' in durable execution ARN regex (#9038)
DurableIntegBase.assert_invoke_output parsed the ARN line of
sam local invoke output with [a-f0-9-]+, which truncates at the
first '/'. After aws-durable-execution-sdk-python-testing#216 the
emulator returns <uuid>/<invocation-id>, so subsequent
sam local execution history|stop|get calls in the same test
received only the leading UUID and 404'd, failing every
test_local_invoke_durable_function_* test plus
test_execution_stop_already_completed with AssertionError: 1 != 0.
Switching to \S+ captures the full ARN as printed and stays
backwards-compatible with the old UUID-only form.
Fixes #90371 parent f46d86e commit 3c1153a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
0 commit comments