Skip to content

Commit

Permalink
test: Bump default PostgreSQL image to 12.22 (#9045)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcheshkov authored Dec 13, 2024
1 parent d2c2fcd commit 0bba1b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export class PostgresDBRunner extends BaseDbRunner {
}

async containerLazyInit() {
const version = process.env.TEST_PGSQL_VERSION || '9.6.8';
const version = process.env.TEST_PGSQL_VERSION || '12.22';

return new GenericContainer(`postgres:${version}`)
.withEnvironment({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { DbRunnerAbstract, DBRunnerContainerOptions } from './db-runner.abstract

export class PostgresDBRunner extends DbRunnerAbstract {
public static startContainer(options: DBRunnerContainerOptions) {
const version = process.env.TEST_PGSQL_VERSION || options.version || '9.6.8';
const version = process.env.TEST_PGSQL_VERSION || options.version || '12.22';

const container = new GenericContainer(`postgres:${version}`)
.withEnvironment({
Expand Down

0 comments on commit 0bba1b9

Please sign in to comment.