File: pool-checkout-no-stale.yml

package info (click to toggle)
golang-mongodb-mongo-driver 1.17.1%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 25,988 kB
  • sloc: perl: 533; ansic: 491; python: 432; sh: 327; makefile: 174
file content (41 lines) | stat: -rw-r--r-- 910 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: 1
style: unit
description: must destroy and must not check out a stale connection if found while iterating available connections
poolOptions:
  backgroundThreadIntervalMS: -1
operations:
  - name: ready
  - name: checkOut
    label: conn
  - name: checkIn
    connection: conn
  - name: clear
  - name: ready
  - name: checkOut
  - name: waitForEvent
    event: ConnectionCheckedOut
    count: 2
events:
  - type: ConnectionPoolCreated
    address: 42
    options: 42
  - type: ConnectionCheckedOut
    connectionId: 1
    address: 42
  - type: ConnectionCheckedIn
    connectionId: 1
    address: 42
  - type: ConnectionPoolCleared
    address: 42
  - type: ConnectionClosed
    connectionId: 1
    reason: stale
    address: 42
  - type: ConnectionCheckedOut
    connectionId: 2
    address: 42
ignore:
  - ConnectionReady
  - ConnectionPoolReady
  - ConnectionCreated
  - ConnectionCheckOutStarted