diff --git a/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-custom-maxConnecting-is-enforced.json b/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-custom-maxConnecting-is-enforced.json index 6620f82fd9..5f3abb87cc 100644 --- a/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-custom-maxConnecting-is-enforced.json +++ b/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-custom-maxConnecting-is-enforced.json @@ -17,13 +17,15 @@ ], "closeConnection": false, "blockConnection": true, - "blockTimeMS": 500 + "blockTimeMS": 500, + "appName": "cmap-format-tests" } }, "poolOptions": { "maxConnecting": 1, "maxPoolSize": 2, - "waitQueueTimeoutMS": 5000 + "waitQueueTimeoutMS": 5000, + "appName": "cmap-format-tests" }, "operations": [ { diff --git a/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-custom-maxConnecting-is-enforced.yml b/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-custom-maxConnecting-is-enforced.yml index dc8852696e..5524c6c304 100644 --- a/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-custom-maxConnecting-is-enforced.yml +++ b/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-custom-maxConnecting-is-enforced.yml @@ -12,11 +12,13 @@ failPoint: closeConnection: false blockConnection: true blockTimeMS: 500 + appName: "cmap-format-tests" poolOptions: maxConnecting: 1 # gives opportunity for the checkout in thread2 to establish a new connection, which it must not do until thread1 establishes one maxPoolSize: 2 waitQueueTimeoutMS: 5000 + appName: "cmap-format-tests" operations: - name: ready # thread1 exists to consume the single permit to open a connection, diff --git a/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-maxConnecting-is-enforced.json b/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-maxConnecting-is-enforced.json index 3a63818bfe..f05f9ec30b 100644 --- a/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-maxConnecting-is-enforced.json +++ b/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-maxConnecting-is-enforced.json @@ -19,12 +19,14 @@ ], "closeConnection": false, "blockConnection": true, - "blockTimeMS": 800 + "blockTimeMS": 800, + "appName": "cmap-format-tests" } }, "poolOptions": { "maxPoolSize": 10, - "waitQueueTimeoutMS": 5000 + "waitQueueTimeoutMS": 5000, + "appName": "cmap-format-tests" }, "operations": [ { diff --git a/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-maxConnecting-is-enforced.yml b/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-maxConnecting-is-enforced.yml index 2ea7333d82..4f86127183 100644 --- a/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-maxConnecting-is-enforced.yml +++ b/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-maxConnecting-is-enforced.yml @@ -14,9 +14,11 @@ failPoint: closeConnection: false blockConnection: true blockTimeMS: 800 + appName: "cmap-format-tests" poolOptions: maxPoolSize: 10 waitQueueTimeoutMS: 5000 + appName: "cmap-format-tests" operations: - name: ready # start 3 threads diff --git a/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-maxConnecting-timeout.json b/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-maxConnecting-timeout.json index 4d9fda1a68..36e672ab92 100644 --- a/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-maxConnecting-timeout.json +++ b/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-maxConnecting-timeout.json @@ -19,12 +19,14 @@ ], "closeConnection": false, "blockConnection": true, - "blockTimeMS": 750 + "blockTimeMS": 750, + "appName": "cmap-format-tests" } }, "poolOptions": { "maxPoolSize": 10, - "waitQueueTimeoutMS": 50 + "waitQueueTimeoutMS": 50, + "appName": "cmap-format-tests" }, "operations": [ { diff --git a/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-maxConnecting-timeout.yml b/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-maxConnecting-timeout.yml index 3c6fb5da21..3a99942e68 100644 --- a/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-maxConnecting-timeout.yml +++ b/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-maxConnecting-timeout.yml @@ -14,12 +14,14 @@ failPoint: closeConnection: false blockConnection: true blockTimeMS: 750 + appName: "cmap-format-tests" poolOptions: maxPoolSize: 10 # Drivers that limit connection establishment by waitQueueTimeoutMS may skip # this test. While waitQueueTimeoutMS is technically not supposed to limit establishment time, # it will soon be deprecated, so it is easier for those drivers to just skip this test. waitQueueTimeoutMS: 50 + appName: "cmap-format-tests" operations: - name: ready # start creating two connections simultaneously. diff --git a/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-minPoolSize-connection-maxConnecting.json b/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-minPoolSize-connection-maxConnecting.json index 3b0d43e877..dbcf50797d 100644 --- a/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-minPoolSize-connection-maxConnecting.json +++ b/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-minPoolSize-connection-maxConnecting.json @@ -17,13 +17,15 @@ ], "closeConnection": false, "blockConnection": true, - "blockTimeMS": 500 + "blockTimeMS": 500, + "appName": "cmap-format-tests" } }, "poolOptions": { "minPoolSize": 2, "maxPoolSize": 3, - "waitQueueTimeoutMS": 5000 + "waitQueueTimeoutMS": 5000, + "appName": "cmap-format-tests" }, "operations": [ { diff --git a/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-minPoolSize-connection-maxConnecting.yml b/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-minPoolSize-connection-maxConnecting.yml index 0491c53982..0298bbb27a 100644 --- a/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-minPoolSize-connection-maxConnecting.yml +++ b/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-minPoolSize-connection-maxConnecting.yml @@ -13,12 +13,14 @@ failPoint: closeConnection: false blockConnection: true blockTimeMS: 500 + appName: "cmap-format-tests" poolOptions: # allows both thread1 and the background thread to start opening connections concurrently minPoolSize: 2 # gives opportunity for the checkout in thread2 to open a new connection, which it must not do nonetheless maxPoolSize: 3 waitQueueTimeoutMS: 5000 + appName: "cmap-format-tests" operations: - name: ready # thread1 exists to hold on one of the two permits to open a connection (the other one is initially held by the background thread), diff --git a/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-returned-connection-maxConnecting.json b/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-returned-connection-maxConnecting.json index 10b526e0c3..f6df6153fe 100644 --- a/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-returned-connection-maxConnecting.json +++ b/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-returned-connection-maxConnecting.json @@ -19,13 +19,15 @@ ], "closeConnection": false, "blockConnection": true, - "blockTimeMS": 750 + "blockTimeMS": 750, + "appName": "cmap-format-tests" } }, "poolOptions": { "maxConnecting": 2, "maxPoolSize": 10, - "waitQueueTimeoutMS": 5000 + "waitQueueTimeoutMS": 5000, + "appName": "cmap-format-tests" }, "operations": [ { diff --git a/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-returned-connection-maxConnecting.yml b/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-returned-connection-maxConnecting.yml index 5e2b5890a8..d91693a332 100644 --- a/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-returned-connection-maxConnecting.yml +++ b/source/connection-monitoring-and-pooling/tests/cmap-format/pool-checkout-returned-connection-maxConnecting.yml @@ -14,10 +14,12 @@ failPoint: closeConnection: false blockConnection: true blockTimeMS: 750 + appName: "cmap-format-tests" poolOptions: maxConnecting: 2 maxPoolSize: 10 waitQueueTimeoutMS: 5000 + appName: "cmap-format-tests" operations: - name: ready # check out a connection and hold on to it. diff --git a/source/connection-monitoring-and-pooling/tests/cmap-format/pool-clear-interrupting-pending-connections.json b/source/connection-monitoring-and-pooling/tests/cmap-format/pool-clear-interrupting-pending-connections.json index c1fd746329..9eee3fc377 100644 --- a/source/connection-monitoring-and-pooling/tests/cmap-format/pool-clear-interrupting-pending-connections.json +++ b/source/connection-monitoring-and-pooling/tests/cmap-format/pool-clear-interrupting-pending-connections.json @@ -17,11 +17,13 @@ ], "closeConnection": false, "blockConnection": true, - "blockTimeMS": 10000 + "blockTimeMS": 10000, + "appName": "cmap-format-tests" } }, "poolOptions": { - "minPoolSize": 0 + "minPoolSize": 0, + "appName": "cmap-format-tests" }, "operations": [ { diff --git a/source/connection-monitoring-and-pooling/tests/cmap-format/pool-clear-interrupting-pending-connections.yml b/source/connection-monitoring-and-pooling/tests/cmap-format/pool-clear-interrupting-pending-connections.yml index ea0bbc7d4e..df28d28605 100644 --- a/source/connection-monitoring-and-pooling/tests/cmap-format/pool-clear-interrupting-pending-connections.yml +++ b/source/connection-monitoring-and-pooling/tests/cmap-format/pool-clear-interrupting-pending-connections.yml @@ -12,8 +12,10 @@ failPoint: closeConnection: false blockConnection: true blockTimeMS: 10000 + appName: "cmap-format-tests" poolOptions: minPoolSize: 0 + appName: "cmap-format-tests" operations: - name: ready - name: start