Skip to content

Commit

Permalink
use createPool function (refactoring)
Browse files Browse the repository at this point in the history
  • Loading branch information
pj-spoelders committed Nov 12, 2024
1 parent 6b94311 commit b5f9fa9
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions integration-test/testcases/pool.basic.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,7 @@ export const basicPoolTests = (name: string, factory: websocketFactory) =>
it('Fetch multiple queries asynchronously (20)', async () => {
const setupClient = createSetupClient(factory, container);

const poolToQuery = new ExasolPool(factory, {
host: container.getHost(),
port: container.getMappedPort(8563),
user: 'sys',
password: 'exasol',
encryption: false,
min: 1,
max: 10,
});
const poolToQuery = createPool(factory, container, 1, 10);

await setupClient.connect();

Expand Down

0 comments on commit b5f9fa9

Please sign in to comment.