...

Text file src/go.mongodb.org/mongo-driver/testdata/crud/unified/find-allowdiskuse-clientError.yml

Documentation: go.mongodb.org/mongo-driver/testdata/crud/unified

     1# This file was created automatically using mongodb-spec-converter.
     2# Please review the generated file, then remove this notice.
     3
     4description: find-allowdiskuse-clientError
     5schemaVersion: '1.0'
     6runOnRequirements:
     7  -
     8    maxServerVersion: 3.0.99
     9createEntities:
    10  -
    11    client:
    12      id: &client0 client0
    13      observeEvents:
    14        - commandStartedEvent
    15  -
    16    database:
    17      id: &database0 database0
    18      client: client0
    19      databaseName: &database_name crud-v2
    20  -
    21    collection:
    22      id: &collection0 collection0
    23      database: database0
    24      collectionName: &collection_name test_find_allowdiskuse_clienterror
    25tests:
    26  -
    27    description: 'Find fails when allowDiskUse true is specified against pre 3.2 server'
    28    operations:
    29      -
    30        object: *collection0
    31        name: find
    32        arguments:
    33          filter: {  }
    34          allowDiskUse: true
    35        expectError:
    36          isError: true
    37    expectEvents:
    38      -
    39        client: *client0
    40        events: []
    41  -
    42    description: 'Find fails when allowDiskUse false is specified against pre 3.2 server'
    43    operations:
    44      -
    45        object: *collection0
    46        name: find
    47        arguments:
    48          filter: {  }
    49          allowDiskUse: false
    50        expectError:
    51          isError: true
    52    expectEvents:
    53      -
    54        client: *client0
    55        events: []

View as plain text