ecto_adapters_dynamodb icon indicating copy to clipboard operation
ecto_adapters_dynamodb copied to clipboard

Improve test coverage for `fetch_recursive`

Open darrenklein opened this issue 4 years ago • 1 comments
trafficstars

While investigating something else, I noticed that none of our test cases ever end up recursively calling the Query module's fetch_recursive private method - it would probably be a good idea to write a test to cover that scenario.

darrenklein avatar Mar 03 '21 23:03 darrenklein

The test would need to make sure fetch_result["LastEvaluatedKey"] != nil and updated_recursive.continue evaluated to true.

darrenklein avatar Mar 03 '21 23:03 darrenklein