Sha256: 42cff0e86722df8678a63a48432896bed357bbfb857e1bc69c8b58e4867a68af

Contents?: true

Size: 1.28 KB

Versions: 17

Compression:

Stored size: 1.28 KB

Contents

data:
  - { _id: 1, x: 11 }
  - { _id: 2, x: 22 }
  - { _id: 3, x: 33 }

collection_name: &collection_name "test"
database_name: &database_name "ruby-driver"

tests:
  -
    description: "A successful mixed bulk write"
    operation:
      name: "bulkWrite"
      arguments:
        requests:
          - name: "insertOne"
            arguments:
              document: { _id: 4, x: 44 }
          - name: "updateOne"
            arguments:
              filter: { _id: 3 }
              update: { $set: { x: 333 } }
    expectations:
      -
        command_started_event:
          command:
            insert: *collection_name
            documents:
              - { _id: 4, x: 44 }
            ordered: true
          command_name: "insert"
          database_name: *database_name
      -
        command_succeeded_event:
          reply: { ok: 1.0, n: 1 }
          command_name: "insert"
      -
        command_started_event:
          command:
            update: *collection_name
            updates:
              - { q: {_id: 3 }, u: { $set: { x: 333 } }, upsert: false, multi: false }
            ordered: true
          command_name: "update"
          database_name: *database_name
      -
        command_succeeded_event:
          reply: { ok: 1.0, n: 1 }
          command_name: "update"

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/mongo-2.8.0/spec/spec_tests/data/command_monitoring/bulkWrite.yml
mongo-2.9.2 spec/spec_tests/data/command_monitoring/bulkWrite.yml
mongo-2.9.1 spec/spec_tests/data/command_monitoring/bulkWrite.yml
mongo-2.9.1.rc0 spec/spec_tests/data/command_monitoring/bulkWrite.yml
mongo-2.9.0 spec/spec_tests/data/command_monitoring/bulkWrite.yml
mongo-2.9.0.rc1 spec/spec_tests/data/command_monitoring/bulkWrite.yml
mongo-2.9.0.rc0 spec/spec_tests/data/command_monitoring/bulkWrite.yml
mongo-2.8.0 spec/spec_tests/data/command_monitoring/bulkWrite.yml
mongo-2.7.2 spec/spec_tests/data/command_monitoring/bulkWrite.yml
mongo-2.8.0.rc0 spec/spec_tests/data/command_monitoring/bulkWrite.yml
mongo-2.7.1 spec/spec_tests/data/command_monitoring/bulkWrite.yml
mongo-2.7.0 spec/spec_tests/data/command_monitoring/bulkWrite.yml
mongo-2.7.0.rc0 spec/spec_tests/data/command_monitoring/bulkWrite.yml
mongo-2.6.4 spec/support/command_monitoring/bulkWrite.yml
mongo-2.6.2 spec/support/command_monitoring/bulkWrite.yml
mongo-2.6.1 spec/support/command_monitoring/bulkWrite.yml
mongo-2.6.0 spec/support/command_monitoring/bulkWrite.yml