Skip to content

Commit f2b77b9

Browse files
added service name to eds config #292
1 parent 7167f87 commit f2b77b9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/metrics/ThreadPoolMetricTest.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import pl.allegro.tech.servicemesh.envoycontrol.EnvoyControlProperties
88
import pl.allegro.tech.servicemesh.envoycontrol.server.ExecutorType
99
import reactor.core.publisher.Flux
1010

11-
1211
class ThreadPoolMetricTest {
1312

1413
@Test
@@ -27,9 +26,10 @@ class ThreadPoolMetricTest {
2726

2827
// then
2928
val allMeterNames = meterRegistry.meters.map { it.id.name }
30-
val requiredMeterNames = listOf("grpc-server-worker", "grpc-worker-event-loop", "snapshot-update", "group-snapshot").flatMap {
31-
listOf("$it.executor.completed", "$it.executor.active", "$it.executor.queued", "$it.executor.pool.size")
32-
}
29+
val requiredMeterNames =
30+
listOf("grpc-server-worker", "grpc-worker-event-loop", "snapshot-update", "group-snapshot").flatMap {
31+
listOf("$it.executor.completed", "$it.executor.active", "$it.executor.queued", "$it.executor.pool.size")
32+
}
3333

3434
assertThat(allMeterNames).containsAll(requiredMeterNames)
3535

0 commit comments

Comments
 (0)