@@ -840,6 +840,7 @@ export const createIntegrationTests = (
840840 t . deepEqual ( pool . state ( ) , {
841841 acquiredConnections : 0 ,
842842 idleConnections : 0 ,
843+ pendingConnections : 0 ,
843844 pendingDestroyConnections : 0 ,
844845 pendingReleaseConnections : 0 ,
845846 state : 'ACTIVE' ,
@@ -851,6 +852,7 @@ export const createIntegrationTests = (
851852 t . deepEqual ( pool . state ( ) , {
852853 acquiredConnections : 0 ,
853854 idleConnections : 0 ,
855+ pendingConnections : 0 ,
854856 pendingDestroyConnections : 0 ,
855857 pendingReleaseConnections : 0 ,
856858 state : 'ENDED' ,
@@ -867,6 +869,7 @@ export const createIntegrationTests = (
867869 t . deepEqual ( pool . state ( ) , {
868870 acquiredConnections : 0 ,
869871 idleConnections : 0 ,
872+ pendingConnections : 0 ,
870873 pendingDestroyConnections : 0 ,
871874 pendingReleaseConnections : 0 ,
872875 state : 'ACTIVE' ,
@@ -880,6 +883,7 @@ export const createIntegrationTests = (
880883 t . deepEqual ( pool . state ( ) , {
881884 acquiredConnections : 0 ,
882885 idleConnections : 1 ,
886+ pendingConnections : 0 ,
883887 pendingDestroyConnections : 0 ,
884888 pendingReleaseConnections : 0 ,
885889 state : 'ACTIVE' ,
@@ -891,6 +895,7 @@ export const createIntegrationTests = (
891895 t . deepEqual ( pool . state ( ) , {
892896 acquiredConnections : 0 ,
893897 idleConnections : 0 ,
898+ pendingConnections : 0 ,
894899 pendingDestroyConnections : 0 ,
895900 pendingReleaseConnections : 0 ,
896901 state : 'ENDED' ,
@@ -906,6 +911,7 @@ export const createIntegrationTests = (
906911 t . deepEqual ( pool . state ( ) , {
907912 acquiredConnections : 0 ,
908913 idleConnections : 0 ,
914+ pendingConnections : 0 ,
909915 pendingDestroyConnections : 0 ,
910916 pendingReleaseConnections : 0 ,
911917 state : 'ACTIVE' ,
@@ -921,6 +927,7 @@ export const createIntegrationTests = (
921927 t . deepEqual ( pool . state ( ) , {
922928 acquiredConnections : 1 ,
923929 idleConnections : 0 ,
930+ pendingConnections : 0 ,
924931 pendingDestroyConnections : 0 ,
925932 pendingReleaseConnections : 0 ,
926933 state : 'ACTIVE' ,
@@ -932,6 +939,7 @@ export const createIntegrationTests = (
932939 t . deepEqual ( pool . state ( ) , {
933940 acquiredConnections : 0 ,
934941 idleConnections : 0 ,
942+ pendingConnections : 0 ,
935943 pendingDestroyConnections : 0 ,
936944 pendingReleaseConnections : 0 ,
937945 state : 'ENDED' ,
@@ -951,6 +959,7 @@ export const createIntegrationTests = (
951959 t . deepEqual ( pool . state ( ) , {
952960 acquiredConnections : 0 ,
953961 idleConnections : 0 ,
962+ pendingConnections : 0 ,
954963 pendingDestroyConnections : 0 ,
955964 pendingReleaseConnections : 0 ,
956965 state : 'ACTIVE' ,
@@ -978,6 +987,7 @@ export const createIntegrationTests = (
978987 t . deepEqual ( pool . state ( ) , {
979988 acquiredConnections : 0 ,
980989 idleConnections : 5 ,
990+ pendingConnections : 0 ,
981991 pendingDestroyConnections : 0 ,
982992 pendingReleaseConnections : 0 ,
983993 state : 'ACTIVE' ,
@@ -989,6 +999,7 @@ export const createIntegrationTests = (
989999 t . deepEqual ( pool . state ( ) , {
9901000 acquiredConnections : 0 ,
9911001 idleConnections : 0 ,
1002+ pendingConnections : 0 ,
9921003 pendingDestroyConnections : 0 ,
9931004 pendingReleaseConnections : 0 ,
9941005 state : 'ENDED' ,
@@ -1442,6 +1453,7 @@ export const createIntegrationTests = (
14421453 {
14431454 acquiredConnections : 0 ,
14441455 idleConnections : 0 ,
1456+ pendingConnections : 0 ,
14451457 pendingDestroyConnections : 0 ,
14461458 pendingReleaseConnections : 0 ,
14471459 state : 'ACTIVE' ,
@@ -1466,6 +1478,7 @@ export const createIntegrationTests = (
14661478 {
14671479 acquiredConnections : 1 ,
14681480 idleConnections : 0 ,
1481+ pendingConnections : 0 ,
14691482 pendingDestroyConnections : 0 ,
14701483 pendingReleaseConnections : 0 ,
14711484 state : 'ACTIVE' ,
@@ -2004,6 +2017,7 @@ export const createIntegrationTests = (
20042017 {
20052018 acquiredConnections : 0 ,
20062019 idleConnections : 0 ,
2020+ pendingConnections : 0 ,
20072021 pendingDestroyConnections : 0 ,
20082022 pendingReleaseConnections : 0 ,
20092023 state : 'ACTIVE' ,
@@ -2021,6 +2035,7 @@ export const createIntegrationTests = (
20212035 {
20222036 acquiredConnections : 0 ,
20232037 idleConnections : 1 ,
2038+ pendingConnections : 0 ,
20242039 pendingDestroyConnections : 0 ,
20252040 pendingReleaseConnections : 0 ,
20262041 state : 'ACTIVE' ,
@@ -2036,6 +2051,7 @@ export const createIntegrationTests = (
20362051 {
20372052 acquiredConnections : 0 ,
20382053 idleConnections : 0 ,
2054+ pendingConnections : 0 ,
20392055 pendingDestroyConnections : 0 ,
20402056 pendingReleaseConnections : 0 ,
20412057 state : 'ACTIVE' ,
@@ -2175,6 +2191,7 @@ export const createIntegrationTests = (
21752191 t . like ( pool . state ( ) , {
21762192 acquiredConnections : 0 ,
21772193 idleConnections : 0 ,
2194+ pendingConnections : 0 ,
21782195 pendingDestroyConnections : 0 ,
21792196 pendingReleaseConnections : 0 ,
21802197 waitingClients : 0 ,
@@ -2193,6 +2210,7 @@ export const createIntegrationTests = (
21932210 t . like ( pool . state ( ) , {
21942211 acquiredConnections : 0 ,
21952212 idleConnections : 0 ,
2213+ pendingConnections : 0 ,
21962214 pendingDestroyConnections : 0 ,
21972215 pendingReleaseConnections : 0 ,
21982216 waitingClients : 0 ,
@@ -2216,6 +2234,7 @@ export const createIntegrationTests = (
22162234 acquiredConnections : 0 ,
22172235 // TODO we might want to add an option to warm up the pool, in which case this value should be 1
22182236 idleConnections : 0 ,
2237+ pendingConnections : 0 ,
22192238 pendingDestroyConnections : 0 ,
22202239 pendingReleaseConnections : 0 ,
22212240 state : 'ACTIVE' ,
@@ -2233,6 +2252,7 @@ export const createIntegrationTests = (
22332252 {
22342253 acquiredConnections : 0 ,
22352254 idleConnections : 1 ,
2255+ pendingConnections : 0 ,
22362256 pendingDestroyConnections : 0 ,
22372257 pendingReleaseConnections : 0 ,
22382258 state : 'ACTIVE' ,
@@ -2248,6 +2268,7 @@ export const createIntegrationTests = (
22482268 {
22492269 acquiredConnections : 0 ,
22502270 idleConnections : 1 ,
2271+ pendingConnections : 0 ,
22512272 pendingDestroyConnections : 0 ,
22522273 pendingReleaseConnections : 0 ,
22532274 state : 'ACTIVE' ,
@@ -2291,6 +2312,7 @@ export const createIntegrationTests = (
22912312 {
22922313 acquiredConnections : 0 ,
22932314 idleConnections : 0 ,
2315+ pendingConnections : 1 ,
22942316 pendingDestroyConnections : 0 ,
22952317 pendingReleaseConnections : 0 ,
22962318 state : 'ACTIVE' ,
@@ -2307,6 +2329,7 @@ export const createIntegrationTests = (
23072329 {
23082330 acquiredConnections : 0 ,
23092331 idleConnections : 1 ,
2332+ pendingConnections : 0 ,
23102333 pendingDestroyConnections : 0 ,
23112334 pendingReleaseConnections : 0 ,
23122335 state : 'ACTIVE' ,
@@ -2422,6 +2445,7 @@ export const createIntegrationTests = (
24222445 {
24232446 acquiredConnections : 0 ,
24242447 idleConnections : 1 ,
2448+ pendingConnections : 0 ,
24252449 pendingDestroyConnections : 0 ,
24262450 pendingReleaseConnections : 0 ,
24272451 state : 'ACTIVE' ,
@@ -2467,6 +2491,7 @@ export const createIntegrationTests = (
24672491 t . deepEqual ( pool . state ( ) , {
24682492 acquiredConnections : 2 ,
24692493 idleConnections : 0 ,
2494+ pendingConnections : 0 ,
24702495 pendingDestroyConnections : 0 ,
24712496 pendingReleaseConnections : 0 ,
24722497 state : 'ACTIVE' ,
0 commit comments