Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

Commit af2040a

Browse files
committed
fix: testGetPooledConnection unit test
1 parent cb09a0a commit af2040a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

google-cloud-bigquery-jdbc/src/test/java/com/google/cloud/bigquery/jdbc/PooledConnectionDataSourceTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public void testGetPooledConnection() throws SQLException {
4040
BigQueryConnection bqConnection = mock(BigQueryConnection.class);
4141
doReturn(connectionUrl).when(bqConnection).getConnectionUrl();
4242
doReturn(LISTENER_POOL_SIZE).when(bqConnection).getListenerPoolSize();
43+
doReturn(CONNECTION_POOL_SIZE).when(bqConnection).getConnectionPoolSize();
4344

4445
PooledConnectionDataSource pooledDataSource = new PooledConnectionDataSource();
4546
pooledDataSource.setConnection(bqConnection);

0 commit comments

Comments
 (0)