Skip to content

Commit

Permalink
bumper postgres til å matche prod
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsteinsland committed Jan 12, 2024
1 parent e16dd0b commit 835c3c0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sykepenger-api/src/test/kotlin/no/nav/helse/spleis/DB.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import org.testcontainers.containers.PostgreSQLContainer

internal class DB {
companion object {
internal val instance = PostgreSQLContainer<Nothing>("postgres:14").apply {
internal val instance = PostgreSQLContainer<Nothing>("postgres:15").apply {
withCreateContainerCmdModifier { command -> command.withName("spleis-api") }
withReuse(true)
withLabel("app-navn", "spleis-api")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import org.testcontainers.containers.PostgreSQLContainer

object PostgresContainer {
val instance by lazy {
PostgreSQLContainer<Nothing>("postgres:14").apply {
PostgreSQLContainer<Nothing>("postgres:15").apply {
withCreateContainerCmdModifier { command -> command.withName("spleis-mediators") }
withReuse(true)
withLabel("app-navn", "spleis-mediators")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import org.testcontainers.containers.PostgreSQLContainer
internal abstract class DBTest {
protected lateinit var dataSource: DataSource
companion object {
private val psqlContainer = PostgreSQLContainer<Nothing>("postgres:14").apply {
private val psqlContainer = PostgreSQLContainer<Nothing>("postgres:15").apply {
withCreateContainerCmdModifier { command -> command.withName("spleis-opprydding-dev") }
withReuse(true)
withLabel("app-navn", "spleis-opprydding-dev")
Expand Down

0 comments on commit 835c3c0

Please sign in to comment.