Disable kafka streams metrics test temporarily

This commit is contained in:
Soby Chacko
2019-10-10 01:32:51 -04:00
parent 9d708f836a
commit 855334aaa3

View File

@@ -96,6 +96,7 @@ public class KafkaStreamsBinderWordCountFunctionTests {
"--spring.cloud.stream.kafka.streams.binder.brokers=" + embeddedKafka.getBrokersAsString())) {
receiveAndValidate("words", "counts");
final MeterRegistry meterRegistry = context.getBean(MeterRegistry.class);
//TODO: This assertion fails randomly - Investigate why.
assertThat(meterRegistry.get("stream.metrics.commit.total").gauge().value()).isEqualTo(1.0);
}
}