diff --git a/src/test/java/org/springframework/integration/aws/kinesis/KclMessageDrivenChannelAdapterTests.java b/src/test/java/org/springframework/integration/aws/kinesis/KclMessageDrivenChannelAdapterTests.java index 3a72545..6f13c0a 100644 --- a/src/test/java/org/springframework/integration/aws/kinesis/KclMessageDrivenChannelAdapterTests.java +++ b/src/test/java/org/springframework/integration/aws/kinesis/KclMessageDrivenChannelAdapterTests.java @@ -125,7 +125,7 @@ void kclChannelAdapterReceivesRecords() { @Test public void metricsLevelOfMetricsFactoryShouldBeSetToMetricsLevelOfAdapter() { MetricsLevel metricsLevel = TestUtils.getPropertyValue( - kclMessageDrivenChannelAdapter, + this.kclMessageDrivenChannelAdapter, "scheduler.metricsFactory.metricsLevel", MetricsLevel.class );