Skip to content

Commit

Permalink
Discovery Client to RC5 (#491)
Browse files Browse the repository at this point in the history
* Micronaut Core RC5

* pin docker image to consul:1.9.0
  • Loading branch information
sdelamo committed Jul 6, 2023
1 parent 0e4328e commit 9316a2a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class ConsulAutoRegistrationSpec extends Specification {
@Shared
@AutoCleanup
GenericContainer consulContainer =
new GenericContainer("consul:latest")
new GenericContainer("consul:1.9.0")
.withExposedPorts(8500)

@Shared String consulHost
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class ConsulClientSpec extends Specification {
@Shared
@AutoCleanup
GenericContainer consulContainer =
new GenericContainer("consul:latest")
new GenericContainer("consul:1.9.0")
.withExposedPorts(8500)

@Shared String consulHost
Expand Down Expand Up @@ -125,7 +125,7 @@ class ConsulClientSpec extends Specification {
Flux.from(client.deregister('xxxxxxxx')).blockFirst()
} catch(e) {
// ignore (throws Unknown service exception if it doesn't exist)
}
}

when:
int oldSize = Flux.from(client.getServices()).blockFirst().size()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class ConsulHealthStatusSpec extends Specification {
@Shared
@AutoCleanup
GenericContainer consulContainer =
new GenericContainer("consul:latest")
new GenericContainer("consul:1.9.0")
.withExposedPorts(8500)

@Shared String consulHost
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
# Micronaut
micronaut = "4.0.0-RC4"
micronaut = "4.0.0-RC5"
micronaut-platform = "4.0.0-M4"
micronaut-docs = "2.0.0"
micronaut-test = "4.0.0-M8"
Expand Down

0 comments on commit 9316a2a

Please sign in to comment.