data:
    - {_id: 1, x: 'ping'}
minServerVersion: '3.4'
serverless: 'forbid'

tests:
    -
        description: "Aggregate with collation"
        operation:
            name: aggregate
            arguments:
                pipeline:
                    - $match:
                        x: 'PING'
                collation: { locale: 'en_US', strength: 2 } # https://www.mongodb.com/docs/manual/reference/collation/#collation-document
        outcome:
            result:
                - {_id: 1, x: 'ping'}
