From 772e6cd31c8db7779147b8ba6ddf2c17e4e82f8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Roaldseth?= Date: Sat, 9 Nov 2024 13:15:10 +0100 Subject: [PATCH] Bruk PostgreSQL 16 i testene MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dev og prod er oppgradert, så vi bør kjøre det lokalt også --- .../kotlin/no/nav/dagpenger/mottak/db/PostgresTestHelper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediator/src/test/kotlin/no/nav/dagpenger/mottak/db/PostgresTestHelper.kt b/mediator/src/test/kotlin/no/nav/dagpenger/mottak/db/PostgresTestHelper.kt index d1ec0b84..eefaf419 100644 --- a/mediator/src/test/kotlin/no/nav/dagpenger/mottak/db/PostgresTestHelper.kt +++ b/mediator/src/test/kotlin/no/nav/dagpenger/mottak/db/PostgresTestHelper.kt @@ -7,7 +7,7 @@ import org.testcontainers.containers.wait.strategy.HostPortWaitStrategy internal object PostgresTestHelper { val instance by lazy { - PostgreSQLContainer("postgres:12").apply { + PostgreSQLContainer("postgres:16").apply { this.waitingFor(HostPortWaitStrategy()) start() }