@@ -81,7 +81,6 @@ func createTestRetryPool(testPool *TestPool) *RetryPool {
8181}
8282
8383func TestContextCancelledDuringBlockingAcquire (t * testing.T ) {
84- t .Parallel ()
8584 synctest .Test (t , func (t * testing.T ) {
8685 testPool := NewTestPool ()
8786 testPool .acquireFunc = func (ctx context.Context ) (* pgxpool.Conn , error ) {
@@ -112,7 +111,6 @@ func TestContextCancelledDuringBlockingAcquire(t *testing.T) {
112111}
113112
114113func TestAcquireTimeoutReturnsErrAcquire (t * testing.T ) {
115- t .Parallel ()
116114 synctest .Test (t , func (t * testing.T ) {
117115 testPool := NewTestPool ()
118116 testPool .acquireFunc = func (ctx context.Context ) (* pgxpool.Conn , error ) {
@@ -143,7 +141,6 @@ func TestAcquireTimeoutReturnsErrAcquire(t *testing.T) {
143141}
144142
145143func TestAcquireSucceedsButTopLevelContextCancelled (t * testing.T ) {
146- t .Parallel ()
147144 testPool := NewTestPool ()
148145
149146 retryPool := createTestRetryPool (testPool )
@@ -160,7 +157,6 @@ func TestAcquireSucceedsButTopLevelContextCancelled(t *testing.T) {
160157}
161158
162159func TestAcquireErrorWithConnectionReturned (t * testing.T ) {
163- t .Parallel ()
164160 synctest .Test (t , func (t * testing.T ) {
165161 testPool := NewTestPool ()
166162 testPool .acquireFunc = func (ctx context.Context ) (* pgxpool.Conn , error ) {
@@ -185,7 +181,6 @@ func TestAcquireErrorWithConnectionReturned(t *testing.T) {
185181}
186182
187183func TestAcquireSucceedsWithinTimeout (t * testing.T ) {
188- t .Parallel ()
189184 synctest .Test (t , func (t * testing.T ) {
190185 testPool := NewTestPool ()
191186 testPool .acquireFunc = func (ctx context.Context ) (* pgxpool.Conn , error ) {
@@ -216,7 +211,6 @@ func TestAcquireSucceedsWithinTimeout(t *testing.T) {
216211}
217212
218213func TestNoAcquireTimeoutUsesOriginalContext (t * testing.T ) {
219- t .Parallel ()
220214 var acquireContext context.Context
221215
222216 testPool := NewTestPool ()
@@ -237,7 +231,6 @@ func TestNoAcquireTimeoutUsesOriginalContext(t *testing.T) {
237231}
238232
239233func TestAcquireTimeoutCreatesSeparateContext (t * testing.T ) {
240- t .Parallel ()
241234 synctest .Test (t , func (t * testing.T ) {
242235 var acquireContext context.Context
243236
@@ -268,7 +261,6 @@ func TestAcquireTimeoutCreatesSeparateContext(t *testing.T) {
268261}
269262
270263func TestAcquireTimeoutContextCausePreserved (t * testing.T ) {
271- t .Parallel ()
272264 synctest .Test (t , func (t * testing.T ) {
273265 testPool := NewTestPool ()
274266 testPool .acquireFunc = func (ctx context.Context ) (* pgxpool.Conn , error ) {
@@ -295,7 +287,6 @@ func TestAcquireTimeoutContextCausePreserved(t *testing.T) {
295287}
296288
297289func TestSuccessfulFunctionExecution (t * testing.T ) {
298- t .Parallel ()
299290 testPool := NewTestPool ()
300291 testPool .acquireFunc = func (ctx context.Context ) (* pgxpool.Conn , error ) {
301292 return & pgxpool.Conn {}, nil
0 commit comments