Open andre-b-fernandes opened 3 years ago
We are also seeing this issue with dynamoDB, using buildkite and knapsack pro to run rspec.
I ended up writing my own implementation, I think the gem needs to divide the items to send within the batch and group them in smaller chunks.
Description
Running this fails when we have a huge amount of spec files and attempt to run a RSPEC pipeline on them. It also occurs when someone attempts to use DynamoDB as a database. This causes the gem to attempt to perform a batch request with more than 25 requests which exceeds the maximum size as it says in the DynamoDB documentation. https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchWriteItem.html
The error is:
[Member must have length less than or equal to 25, Member must have length greater than or equal to 1]
Steps to reproduce
quarantine
gem and using DynamoDB as a database.