Skip to content

Commit

Permalink
tabletserver: fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Vicent Marti <[email protected]>
  • Loading branch information
vmg committed May 20, 2024
1 parent 26a6c41 commit 8525f85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vttablet/tabletserver/tx_pool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func primeTxPoolWithConnection(t *testing.T, ctx context.Context) (*fakesqldb.DB
db := fakesqldb.New(t)
txPool, _ := newTxPool()
// Set the capacity to 1 to ensure that the db connection is reused.
txPool.scp.conns.SetCapacity(1)
_ = txPool.scp.conns.SetCapacity(context.Background(), 1)
params := dbconfigs.New(db.ConnParams())
txPool.Open(params, params, params)

Expand Down

0 comments on commit 8525f85

Please sign in to comment.