Sha256: 0ba1e6f2911dafe680bcee629d56403a1a625466545512cae4a1700c46cfb71b

Contents?: true

Size: 1.86 KB

Versions: 14

Compression:

Stored size: 1.86 KB

Contents

# This file was created automatically using mongodb-spec-converter.
# Please review the generated file, then remove this notice.

description: find-allowdiskuse
schemaVersion: '1.0'
runOnRequirements:
  -
    minServerVersion: 4.3.1
createEntities:
  -
    client:
      id: &client0 client0
      observeEvents:
        - commandStartedEvent
  -
    database:
      id: &database0 database0
      client: client0
      databaseName: &database_name crud-v2
  -
    collection:
      id: &collection0 collection0
      database: database0
      collectionName: &collection_name test_find_allowdiskuse
tests:
  -
    description: 'Find does not send allowDiskUse when value is not specified'
    operations:
      -
        object: *collection0
        name: find
        arguments:
          filter: {  }
    expectEvents:
      -
        client: *client0
        events:
          -
            commandStartedEvent:
              command:
                find: *collection_name
                allowDiskUse:
                  $$exists: false
  -
    description: 'Find sends allowDiskUse false when false is specified'
    operations:
      -
        object: *collection0
        name: find
        arguments:
          filter: {  }
          allowDiskUse: false
    expectEvents:
      -
        client: *client0
        events:
          -
            commandStartedEvent:
              command:
                find: *collection_name
                allowDiskUse: false
  -
    description: 'Find sends allowDiskUse true when true is specified'
    operations:
      -
        object: *collection0
        name: find
        arguments:
          filter: {  }
          allowDiskUse: true
    expectEvents:
      -
        client: *client0
        events:
          -
            commandStartedEvent:
              command:
                find: *collection_name
                allowDiskUse: true

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
mongo-2.21.0 spec/spec_tests/data/crud_unified/find-allowdiskuse.yml
mongo-2.20.1 spec/spec_tests/data/crud_unified/find-allowdiskuse.yml
mogno-2.20.0 spec/spec_tests/data/crud_unified/find-allowdiskuse.yml
mogno-1.0.0 spec/spec_tests/data/crud_unified/find-allowdiskuse.yml
mongo-2.20.0 spec/spec_tests/data/crud_unified/find-allowdiskuse.yml
mongo-2.19.3 spec/spec_tests/data/crud_unified/find-allowdiskuse.yml
mongo-2.18.3 spec/spec_tests/data/crud_unified/find-allowdiskuse.yml
mongo-2.19.2 spec/spec_tests/data/crud_unified/find-allowdiskuse.yml
mongo-2.19.1 spec/spec_tests/data/crud_unified/find-allowdiskuse.yml
mongo-2.19.0 spec/spec_tests/data/crud_unified/find-allowdiskuse.yml
mongo-2.18.2 spec/spec_tests/data/crud_unified/find-allowdiskuse.yml
mongo-2.18.1 spec/spec_tests/data/crud_unified/find-allowdiskuse.yml
mongo-2.18.0 spec/spec_tests/data/crud_unified/find-allowdiskuse.yml
mongo-2.18.0.beta1 spec/spec_tests/data/crud_unified/find-allowdiskuse.yml