@@ -86,15 +86,13 @@ class MeterGaugeTest : ProbeIntegrationTest() {
8686 val subscriptionId = viewService.addLiveView(
8787 LiveView (
8888 entityIds = mutableSetOf (liveMeter.id!! ),
89- viewConfig = LiveViewConfig (
90- " test" ,
91- listOf (liveMeter.id!! )
92- )
89+ viewConfig = LiveViewConfig (" test" , listOf (liveMeter.id!! ))
9390 )
9491 ).await().subscriptionId!!
9592
9693 val testContext = VertxTestContext ()
9794 getLiveViewSubscription(subscriptionId).handler {
95+ log.info(" Received live view event: $it " )
9896 val liveViewEvent = LiveViewEvent (it.body())
9997 val rawMetrics = JsonObject (liveViewEvent.metricsData)
10098 testContext.verify {
@@ -153,15 +151,13 @@ class MeterGaugeTest : ProbeIntegrationTest() {
153151 val subscriptionId = viewService.addLiveView(
154152 LiveView (
155153 entityIds = mutableSetOf (liveMeter.id!! ),
156- viewConfig = LiveViewConfig (
157- " test" ,
158- listOf (liveMeter.id!! )
159- )
154+ viewConfig = LiveViewConfig (" test" , listOf (liveMeter.id!! ))
160155 )
161156 ).await().subscriptionId!!
162157
163158 val testContext = VertxTestContext ()
164159 getLiveViewSubscription(subscriptionId).handler {
160+ log.info(" Received live view event: ${it.body()} " )
165161 val liveViewEvent = LiveViewEvent (it.body())
166162 val rawMetrics = JsonObject (liveViewEvent.metricsData)
167163 testContext.verify {
0 commit comments