Croway opened a new pull request, #23242:
URL: https://github.com/apache/camel/pull/23242

   ## Summary
   
   - DynamoDB Scan does not guarantee item ordering, but `AWS2QueryRuleIT` and 
`AWS2ScanRuleIT` were asserting specific values at `items.get(0)`, relying on 
LocalStack's internal storage order
   - Replaced positional assertions with order-independent checks: value sets 
via `Collectors.toSet()` and structural iteration over all items
   - Also removed dead code (unused `keyConditions` and `coll` variables) from 
the affected test methods
   
   ## Test plan
   
   - [x] All 27 `camel-aws2-ddb` integration tests pass with LocalStack
   - [x] All 27 `camel-aws2-ddb` integration tests pass with 
[Floci](https://floci.io) (an alternative AWS emulator that returns Scan items 
in a different order)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to