Skip to content

Commit 0bba1b9

Browse files
authored
test: Bump default PostgreSQL image to 12.22 (#9045)
1 parent d2c2fcd commit 0bba1b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/cubejs-schema-compiler/test/integration/postgres/PostgresDBRunner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export class PostgresDBRunner extends BaseDbRunner {
125125
}
126126

127127
async containerLazyInit() {
128-
const version = process.env.TEST_PGSQL_VERSION || '9.6.8';
128+
const version = process.env.TEST_PGSQL_VERSION || '12.22';
129129

130130
return new GenericContainer(`postgres:${version}`)
131131
.withEnvironment({

packages/cubejs-testing-shared/src/db-container-runners/postgres.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { DbRunnerAbstract, DBRunnerContainerOptions } from './db-runner.abstract
55

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

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

0 commit comments

Comments
 (0)