Skip to content

Resolve failing test when request and ddb table schema mismatch#42419

Merged
eladkal merged 1 commit intoapache:mainfrom
ellisms:ddb-test
Sep 23, 2024
Merged

Resolve failing test when request and ddb table schema mismatch#42419
eladkal merged 1 commit intoapache:mainfrom
ellisms:ddb-test

Conversation

@ellisms
Copy link
Contributor

@ellisms ellisms commented Sep 23, 2024


Addresses the failing DDB tests. Test is failing if the DDB schema and the get_item request parameters do not match.

Failed output:

FAILED tests/providers/amazon/aws/sensors/test_dynamodb.py::TestDynamoDBValueSensor::test_sensor_with_pk - botocore.exceptions.ClientError: An error occurred (ValidationException) when calling the GetItem operation: The provided key element does not match the schema
4441
FAILED tests/providers/amazon/aws/sensors/test_dynamodb.py::TestDynamoDBMultipleValuesSensor::test_sensor_with_pk - botocore.exceptions.ClientError: An error occurred (ValidationException) when calling the GetItem operation: The provided key element does not match the schema

@boring-cyborg boring-cyborg bot added area:providers provider:amazon AWS/Amazon - related issues labels Sep 23, 2024
@eladkal eladkal added upgrade to newer dependencies If set, upgrade to newer dependencies is forced canary When set on PR running from apache repo - behave as canary run labels Sep 23, 2024
@eladkal eladkal closed this Sep 23, 2024
@eladkal eladkal reopened this Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers canary When set on PR running from apache repo - behave as canary run provider:amazon AWS/Amazon - related issues upgrade to newer dependencies If set, upgrade to newer dependencies is forced

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants