Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
KSmigielski committed Nov 18, 2024
1 parent fdbda5b commit f60d93e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ internal class CustomRouteTest {

@JvmField
@RegisterExtension
// val envoy = EnvoyExtension(envoyControl, service)
val envoy = EnvoyExtension(envoyControl, service, wrapperService = wrapper)
}
@Test
Expand All @@ -54,6 +55,7 @@ internal class CustomRouteTest {
endpoint = "/status/wrapper/prometheus"
)
// then
assertThat(response).isOk().isFrom(wrapper)
assertThat(response).isOk()
.isFrom(wrapper)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class EnvoyExtension(

override fun beforeAll(context: ExtensionContext) {
localService?.beforeAll(context)
wrapperService?.beforeAll(context)
envoyControl.beforeAll(context)
try {
container.start()
Expand Down

0 comments on commit f60d93e

Please sign in to comment.