Sha256: 7869668976f45b7401b379d2857986e1b1f32e4de069404e56802913124019d8

Contents?: true

Size: 1.04 KB

Versions: 9

Compression:

Stored size: 1.04 KB

Contents

version: 1
style: unit
description: must be able to start a pool with minPoolSize connections
# Remove the topology runOn requirement when cmap specs are adjusted for lbs
runOn:
  - topology: [ "single", "replicaset", "sharded" ]
poolOptions:
  minPoolSize: 3
operations:
  # ensure no connections are created until this pool is ready
  - name: wait
    ms: 200
  - name: ready
  - name: waitForEvent
    event: ConnectionCreated
    count: 3
  - name: waitForEvent
    event: ConnectionReady
    count: 3
  - name: checkOut
events:
  - type: ConnectionPoolCreated
    address: 42
    options: 42
  - type: ConnectionPoolReady
    address: 42
  - type: ConnectionCreated
    connectionId: 42
    address: 42
  - type: ConnectionCreated
    connectionId: 42
    address: 42
  - type: ConnectionCreated
    connectionId: 42
    address: 42
  # Ensures that by the time pool is closed, there are at least 3 connections
  - type: ConnectionCheckedOut
    connectionId: 42
    address: 42
ignore:
  - ConnectionReady
  - ConnectionClosed
  - ConnectionCheckOutStarted

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
mongo-2.21.0 spec/spec_tests/data/cmap/pool-create-min-size.yml
mongo-2.20.1 spec/spec_tests/data/cmap/pool-create-min-size.yml
mogno-2.20.0 spec/spec_tests/data/cmap/pool-create-min-size.yml
mogno-1.0.0 spec/spec_tests/data/cmap/pool-create-min-size.yml
mongo-2.20.0 spec/spec_tests/data/cmap/pool-create-min-size.yml
mongo-2.19.3 spec/spec_tests/data/cmap/pool-create-min-size.yml
mongo-2.19.2 spec/spec_tests/data/cmap/pool-create-min-size.yml
mongo-2.19.1 spec/spec_tests/data/cmap/pool-create-min-size.yml
mongo-2.19.0 spec/spec_tests/data/cmap/pool-create-min-size.yml