Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): upgrade dependencies (#7)
```diff - github.com/aws/aws-sdk-go-v2 v1.21.2 - github.com/aws/aws-sdk-go-v2/config v1.19.1 - github.com/aws/aws-sdk-go-v2/credentials v1.13.43 - github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue v1.10.43 - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.23.0 + github.com/aws/aws-sdk-go-v2 v1.24.0 + github.com/aws/aws-sdk-go-v2/config v1.26.2 + github.com/aws/aws-sdk-go-v2/credentials v1.16.13 + github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue v1.12.13 + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.26.7 ``` **Test Results** ```sh ❯ make test mkdir -p ./coverage go vet ./... go test -v ./... -coverprofile ./coverage/profile ? github.com/oolio-group/dynago [no test files] === RUN TestEncode === RUN TestEncode/0 === RUN TestEncode/1 === RUN TestEncode/2 === RUN TestEncode/3 --- PASS: TestEncode (0.00s) --- PASS: TestEncode/0 (0.00s) --- PASS: TestEncode/1 (0.00s) --- PASS: TestEncode/2 (0.00s) --- PASS: TestEncode/3 (0.00s) === RUN TestDecode === RUN TestDecode/0 === RUN TestDecode/1 --- PASS: TestDecode (0.00s) --- PASS: TestDecode/0 (0.00s) --- PASS: TestDecode/1 (0.00s) === RUN TestEncodeDecode === RUN TestEncodeDecode/0 cursor_test.go:135: eyJQayI6IiIsIlNrIjoiIiwiVGltZXN0YW1wIjowLCJUaW1lc2VyaWVzIjoiIn0K === RUN TestEncodeDecode/1 cursor_test.go:135: eyJQayI6InNvbWUjdmFsdWUiLCJTayI6ImFub3RoZXJfdmFsdWUiLCJUaW1lc3RhbXAiOjk5OTk5OTk5OSwiVGltZXNlcmllcyI6Im5vdF9hLW51bWJlciJ9Cg== === RUN TestEncodeDecode/2 cursor_test.go:135: eyJQayI6IiIsIlNrIjoiYW5vdGhlcl92YWx1ZSIsIlRpbWVzdGFtcCI6OTk5OTk5OTk5LCJUaW1lc2VyaWVzIjoibm90X2EtbnVtYmVyIn0K === RUN TestEncodeDecode/3 cursor_test.go:135: eyJQayI6InNvbWUjdmFsdWUiLCJTayI6ImFub3RoZXJfdmFsdWUiLCJUaW1lc3RhbXAiOjAsIlRpbWVzZXJpZXMiOiIifQo= --- PASS: TestEncodeDecode (0.00s) --- PASS: TestEncodeDecode/0 (0.00s) --- PASS: TestEncodeDecode/1 (0.00s) --- PASS: TestEncodeDecode/2 (0.00s) --- PASS: TestEncodeDecode/3 (0.00s) PASS coverage: 88.0% of statements ok github.com/oolio-group/dynago/pagination 0.002s coverage: 88.0% of statements go tool cover -html ./coverage/profile -o ./coverage/index.html cd tests && go test -v ./... === RUN TestNewClient --- PASS: TestNewClient (0.00s) === RUN TestNewClientLocalEndpoint --- PASS: TestNewClientLocalEndpoint (3.11s) === RUN TestQuery === RUN TestQuery/no_query_matches === RUN TestQuery/error_prone_query 2023/12/21 19:42:59 dynamodb query pk - invalid failed; operation error DynamoDB: Query, https response error StatusCode: 400, RequestID: 4c78c187-babd-4a9d-bac0-48023337ce43, api error ValidationException: ExpressionAttributeValues must not be empty === RUN TestQuery/query_in_partition_with_sk_matching_prefix === RUN TestQuery/query_with_contains_filter_condition_on_field === RUN TestQuery/query_with_limit_on_items_returned --- PASS: TestQuery (4.38s) --- PASS: TestQuery/no_query_matches (0.04s) --- PASS: TestQuery/error_prone_query (0.02s) --- PASS: TestQuery/query_in_partition_with_sk_matching_prefix (0.01s) --- PASS: TestQuery/query_with_contains_filter_condition_on_field (0.01s) --- PASS: TestQuery/query_with_limit_on_items_returned (0.00s) === RUN TestQueryPagination === RUN TestQueryPagination/no_limit,_auto_paginate_1MB_chunks_of_records === RUN TestQueryPagination/100_items_within_1MB_page === RUN TestQueryPagination/limit_of_1500_spanning_2_1MB_pages === RUN TestQueryPagination/limit_of_2500_spanning_3_1MB_pages === RUN TestQueryPagination/paginate_100_items_per_page;_each_page_<_1MB --- PASS: TestQueryPagination (4.64s) --- PASS: TestQueryPagination/no_limit,_auto_paginate_1MB_chunks_of_records (0.13s) --- PASS: TestQueryPagination/100_items_within_1MB_page (0.00s) --- PASS: TestQueryPagination/limit_of_1500_spanning_2_1MB_pages (0.03s) --- PASS: TestQueryPagination/limit_of_2500_spanning_3_1MB_pages (0.05s) --- PASS: TestQueryPagination/paginate_100_items_per_page;_each_page_<_1MB (0.08s) === RUN TestTransactItems === RUN TestTransactItems/assign_terminal_-_only_add_a_terminal === RUN TestTransactItems/assign_terminal_-_delete_existing_and_update_with_new --- PASS: TestTransactItems (2.63s) --- PASS: TestTransactItems/assign_terminal_-_only_add_a_terminal (0.05s) --- PASS: TestTransactItems/assign_terminal_-_delete_existing_and_update_with_new (0.01s) PASS ok github.com/oolio-group/dynago/tests 14.756s ```
- Loading branch information