Skip to content

Commit

Permalink
fix(deps): update dependency io.micronaut.testresources:micronaut-tes…
Browse files Browse the repository at this point in the history
…t-resources-client to v2.3.2 (#587)

* fix(deps): update dependency io.micronaut.testresources:micronaut-test-resources-client to v2.3.2

* Use latest MySQL docker image after fix in test containers

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: radovanradic <[email protected]>
  • Loading branch information
renovate[bot] and radovanradic authored Jan 31, 2024
1 parent c940c0a commit 068574c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class BookControllerTest extends Specification implements TestPropertyProvider {

@Override
Map<String, String> getProperties() {
container = new MySQLContainer<>(DockerImageName.parse("mysql").withTag("8.2"))
container = new MySQLContainer<>(DockerImageName.parse("mysql"))
container.start()
return CollectionUtils.mapOf(
"datasources.default.url", container.getJdbcUrl(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void testListBooksMicronautData() {

@Override
public Map<String, String> getProperties() {
container = new MySQLContainer<>(DockerImageName.parse("mysql").withTag("8.2"));
container = new MySQLContainer<>(DockerImageName.parse("mysql"));
container.start();
return CollectionUtils.mapOf(
"datasources.default.url", container.getJdbcUrl(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class BookControllerTest : TestPropertyProvider {
}

override fun getProperties(): Map<String, String> {
container = MySQLContainer(DockerImageName.parse("mysql").withTag("8.2"))
container = MySQLContainer(DockerImageName.parse("mysql"))
container!!.start()
return mapOf(
"datasources.default.url" to container!!.jdbcUrl,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class SomeEntityRepositoryTest : TestPropertyProvider {
}

override fun getProperties(): Map<String, String> {
container = MySQLContainer(DockerImageName.parse("mysql").withTag("8.2"))
container = MySQLContainer(DockerImageName.parse("mysql"))
container!!.start()
return mapOf(
"datasources.default.url" to container!!.jdbcUrl,
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ micronaut-validation = "4.3.0"
micronaut-logging = "1.2.2"

groovy = "4.0.13"
testcontainers = "1.19.3"
testcontainers = "1.19.4"

# R2DBC Drivers

Expand All @@ -33,7 +33,7 @@ managed-r2dbc-mssql = "1.0.2.RELEASE"
# Gradle plugins

micronaut-gradle-plugin = "4.2.1"
micronaut-testresources = "2.3.1"
micronaut-testresources = "2.3.2"
kotlin-gradle-plugin = "1.9.22"

[libraries]
Expand Down

0 comments on commit 068574c

Please sign in to comment.