diff --git a/envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/CustomRouteTest.kt b/envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/CustomRouteTest.kt index 2b9065eb4..e81304ab1 100644 --- a/envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/CustomRouteTest.kt +++ b/envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/CustomRouteTest.kt @@ -45,6 +45,7 @@ internal class CustomRouteTest { @JvmField @RegisterExtension + // val envoy = EnvoyExtension(envoyControl, service) val envoy = EnvoyExtension(envoyControl, service, wrapperService = wrapper) } @Test @@ -54,6 +55,7 @@ internal class CustomRouteTest { endpoint = "/status/wrapper/prometheus" ) // then - assertThat(response).isOk().isFrom(wrapper) + assertThat(response).isOk() + .isFrom(wrapper) } } diff --git a/envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/config/envoy/EnvoyExtension.kt b/envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/config/envoy/EnvoyExtension.kt index 75e8dd62f..4b13e9b95 100644 --- a/envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/config/envoy/EnvoyExtension.kt +++ b/envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/config/envoy/EnvoyExtension.kt @@ -41,6 +41,7 @@ class EnvoyExtension( override fun beforeAll(context: ExtensionContext) { localService?.beforeAll(context) + wrapperService?.beforeAll(context) envoyControl.beforeAll(context) try { container.start()