Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Severin Ibarluzea committed Feb 21, 2024
1 parent 26b0334 commit e2096f4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 36 deletions.
20 changes: 0 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions src/tests/pgbouncer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ import test from "ava"
import { QueryResult } from "pg"
import { getTestPostgresDatabaseFactory } from "~/index"

test("works with multiple versions", async (t) => {
test("pgbouncer", async (t) => {
const getPostgres13 = getTestPostgresDatabaseFactory({
postgresVersion: "13.5",
pgbouncer: {
enabled: true,
version: "1.22.0",
},
})

const postgres13 = await getPostgres13(t)
Expand All @@ -17,5 +21,4 @@ test("works with multiple versions", async (t) => {
}

t.is(parseVersion(await postgres13.pool.query("SELECT version()")), "13.5")
t.is(parseVersion(await postgres14.pool.query("SELECT version()")), "14.5")
})
14 changes: 0 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1622,16 +1622,6 @@ error-ex@^1.3.1:
dependencies:
is-arrayish "^0.2.1"

esbuild-linux-64@0.15.18:
version "0.15.18"
resolved "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.15.18.tgz"
integrity sha512-hNSeP97IviD7oxLKFuii5sDPJ+QHeiFTFLoLm7NZQligur8poNOWGIgpQ7Qf8Balb69hptMZzyOBIPtY09GZYw==

esbuild-linux-64@0.15.6:
version "0.15.6"
resolved "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.15.6.tgz"
integrity sha512-gQPksyrEYfA4LJwyfTQWAZaVZCx4wpaLrSzo2+Xc9QLC+i/sMWmX31jBjrn4nLJCd79KvwCinto36QC7BEIU/A==

esbuild-register@>=3.0.0, esbuild-register@3.3.3:
version "3.3.3"
resolved "https://registry.npmjs.org/esbuild-register/-/esbuild-register-3.3.3.tgz"
Expand Down Expand Up @@ -3146,8 +3136,6 @@ npm-audit-report@^3.0.0:

npm-bundled@^1.1.1:
version "1.1.2"
resolved "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.2.tgz"
integrity sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ==
dependencies:
npm-normalize-package-bin "^1.0.1"

Expand All @@ -3172,8 +3160,6 @@ npm-normalize-package-bin@^1.0.1:

npm-normalize-package-bin@^2.0.0:
version "2.0.0"
resolved "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz"
integrity sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==

npm-package-arg@^9.0.0, npm-package-arg@^9.0.1, npm-package-arg@^9.1.0:
version "9.1.0"
Expand Down

0 comments on commit e2096f4

Please sign in to comment.