Skip to content

Commit

Permalink
fix(deps): update dependency io.micronaut.azure:micronaut-azure-cosmo…
Browse files Browse the repository at this point in the history
…s to v5.8.0 (#3216)

* fix(deps): update dependency io.micronaut.azure:micronaut-azure-cosmos to v5.8.0

* Use more reliable waiting strategy for azure cosmos emulator

---------

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 Nov 8, 2024
1 parent fc401b5 commit 6d69d26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package io.micronaut.data.azure
import io.micronaut.data.cosmos.config.StorageUpdatePolicy
import io.micronaut.test.support.TestPropertyProvider
import org.testcontainers.containers.CosmosDBEmulatorContainer
import org.testcontainers.containers.wait.strategy.Wait
import org.testcontainers.utility.DockerImageName
import spock.lang.AutoCleanup
import spock.lang.Shared
Expand All @@ -19,7 +20,7 @@ trait AzureCosmosTestProperties implements TestPropertyProvider {
@Shared
@AutoCleanup("stop")
CosmosDBEmulatorContainer emulator = new CosmosDBEmulatorContainer(DockerImageName.parse("mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:latest"))
.withStartupTimeout(STARTUP_TIMEOUT)
.waitingFor(Wait.forHttps("/_explorer/emulator.pem").forStatusCode(200).allowInsecure().withStartupTimeout(STARTUP_TIMEOUT))

@Override
Map<String, String> getProperties() {
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ micronaut-docs = "2.0.0"
micronaut-gradle-plugin = "4.4.4"
micronaut-testresources = "2.6.2"

micronaut-azure = "5.7.1"
micronaut-azure = "5.8.0"
micronaut-reactor = "3.6.0"
micronaut-rxjava2 = "2.5.0"
micronaut-r2dbc = "5.7.0"
Expand Down

0 comments on commit 6d69d26

Please sign in to comment.