...
1description: assertNumberConnectionsCheckedOut
2
3schemaVersion: '1.3'
4
5createEntities:
6 - client:
7 id: &client0 client0
8 useMultipleMongoses: true
9
10tests:
11 - description: operation fails if client field is not specified
12 operations:
13 - name: assertNumberConnectionsCheckedOut
14 object: testRunner
15 arguments:
16 connections: 1
17
18 - description: operation fails if connections field is not specified
19 operations:
20 - name: assertNumberConnectionsCheckedOut
21 object: testRunner
22 arguments:
23 client: *client0
24
25 - description: operation fails if client entity does not exist
26 operations:
27 - name: assertNumberConnectionsCheckedOut
28 object: testRunner
29 arguments:
30 client: client1
31
32 - description: operation fails if number of connections is incorrect
33 operations:
34 - name: assertNumberConnectionsCheckedOut
35 object: testRunner
36 arguments:
37 client: *client0
38 connections: 1
View as plain text