You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this PR #5251 we introduced new tests in the Idempotency utility, but Redis is failing because it needs a proper connection handler.
Current Behaviour
Error
FAILED tests/e2e/idempotency_redis/test_idempotency_redis.py::test_response_hook_idempotency - RuntimeError: Function failed invocation: {"errorMessage": "Failed to save in progress record to idempotency store - (Parameter validation failed:\nInvalid length for parameter TableName, value: 0, valid min length: 1)", "errorType": "IdempotencyPersistenceLayerError", "stackTrace": [" File \"/opt/python/aws_lambda_powertools/middleware_factory/factory.py\", line 137, in wrapper\n response = middleware()\n", " File \"/opt/python/aws_lambda_powertools/utilities/idempotency/idempotency.py\", line 101, in idempotent\n return idempotency_handler.handle()\n", " File \"/opt/python/aws_lambda_powertools/utilities/idempotency/base.py\", line 124, in handle\n return self._process_idempotency()\n", " File \"/opt/python/aws_lambda_powertools/utilities/idempotency/base.py\", line 150, in _process_idempotency\n raise IdempotencyPersistenceLayerError(\n"]}
```### Code snippet```python
No snippet
Possible Solution
Fix tests
Steps to Reproduce
Run e2e tests
Powertools for AWS Lambda (Python) version
latest
AWS Lambda function runtime
3.12
Packaging format used
Lambda Layers
Debugging logs
No response
The text was updated successfully, but these errors were encountered:
Expected Behaviour
In this PR #5251 we introduced new tests in the Idempotency utility, but Redis is failing because it needs a proper connection handler.
Current Behaviour
Error
Possible Solution
Fix tests
Steps to Reproduce
Run e2e tests
Powertools for AWS Lambda (Python) version
latest
AWS Lambda function runtime
3.12
Packaging format used
Lambda Layers
Debugging logs
No response
The text was updated successfully, but these errors were encountered: