fix copy paste issue in earlier PR (#15890)

This commit is contained in:
Tom 2024-02-12 16:49:19 -08:00 committed by GitHub
parent 0f6a895372
commit c225c19f81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 6 deletions

View File

@ -162,7 +162,7 @@ public class KafkaEmitterTest
Assert.assertEquals(0, kafkaEmitter.getMetricLostCount()); Assert.assertEquals(0, kafkaEmitter.getMetricLostCount());
Assert.assertEquals(0, kafkaEmitter.getAlertLostCount()); Assert.assertEquals(0, kafkaEmitter.getAlertLostCount());
Assert.assertEquals(0, kafkaEmitter.getSegmentMetadataLostCount()); Assert.assertEquals(0, kafkaEmitter.getRequestLostCount());
Assert.assertEquals(0, kafkaEmitter.getSegmentMetadataLostCount()); Assert.assertEquals(0, kafkaEmitter.getSegmentMetadataLostCount());
Assert.assertEquals(0, kafkaEmitter.getInvalidLostCount()); Assert.assertEquals(0, kafkaEmitter.getInvalidLostCount());
} }
@ -206,7 +206,7 @@ public class KafkaEmitterTest
Assert.assertEquals(0, kafkaEmitter.getMetricLostCount()); Assert.assertEquals(0, kafkaEmitter.getMetricLostCount());
Assert.assertEquals(0, kafkaEmitter.getAlertLostCount()); Assert.assertEquals(0, kafkaEmitter.getAlertLostCount());
Assert.assertEquals(0, kafkaEmitter.getSegmentMetadataLostCount()); Assert.assertEquals(0, kafkaEmitter.getRequestLostCount());
Assert.assertEquals(0, kafkaEmitter.getSegmentMetadataLostCount()); Assert.assertEquals(0, kafkaEmitter.getSegmentMetadataLostCount());
Assert.assertEquals(0, kafkaEmitter.getInvalidLostCount()); Assert.assertEquals(0, kafkaEmitter.getInvalidLostCount());
@ -249,7 +249,7 @@ public class KafkaEmitterTest
Assert.assertEquals(0, kafkaEmitter.getMetricLostCount()); Assert.assertEquals(0, kafkaEmitter.getMetricLostCount());
Assert.assertEquals(0, kafkaEmitter.getAlertLostCount()); Assert.assertEquals(0, kafkaEmitter.getAlertLostCount());
Assert.assertEquals(0, kafkaEmitter.getSegmentMetadataLostCount()); Assert.assertEquals(0, kafkaEmitter.getRequestLostCount());
Assert.assertEquals(0, kafkaEmitter.getSegmentMetadataLostCount()); Assert.assertEquals(0, kafkaEmitter.getSegmentMetadataLostCount());
Assert.assertEquals(0, kafkaEmitter.getInvalidLostCount()); Assert.assertEquals(0, kafkaEmitter.getInvalidLostCount());
} }
@ -342,7 +342,7 @@ public class KafkaEmitterTest
Assert.assertEquals(0, kafkaEmitter.getMetricLostCount()); Assert.assertEquals(0, kafkaEmitter.getMetricLostCount());
Assert.assertEquals(0, kafkaEmitter.getAlertLostCount()); Assert.assertEquals(0, kafkaEmitter.getAlertLostCount());
Assert.assertEquals(0, kafkaEmitter.getSegmentMetadataLostCount()); Assert.assertEquals(0, kafkaEmitter.getRequestLostCount());
Assert.assertEquals(0, kafkaEmitter.getSegmentMetadataLostCount()); Assert.assertEquals(0, kafkaEmitter.getSegmentMetadataLostCount());
Assert.assertEquals(0, kafkaEmitter.getInvalidLostCount()); Assert.assertEquals(0, kafkaEmitter.getInvalidLostCount());
} }
@ -385,7 +385,7 @@ public class KafkaEmitterTest
Assert.assertEquals(0, kafkaEmitter.getMetricLostCount()); Assert.assertEquals(0, kafkaEmitter.getMetricLostCount());
Assert.assertEquals(0, kafkaEmitter.getAlertLostCount()); Assert.assertEquals(0, kafkaEmitter.getAlertLostCount());
Assert.assertEquals(0, kafkaEmitter.getSegmentMetadataLostCount()); Assert.assertEquals(0, kafkaEmitter.getRequestLostCount());
Assert.assertEquals(0, kafkaEmitter.getSegmentMetadataLostCount()); Assert.assertEquals(0, kafkaEmitter.getSegmentMetadataLostCount());
Assert.assertEquals(UNKNOWN_EVENTS.size(), kafkaEmitter.getInvalidLostCount()); Assert.assertEquals(UNKNOWN_EVENTS.size(), kafkaEmitter.getInvalidLostCount());
} }
@ -460,7 +460,7 @@ public class KafkaEmitterTest
Assert.assertEquals(bufferEventsDrop, kafkaEmitter.getMetricLostCount()); Assert.assertEquals(bufferEventsDrop, kafkaEmitter.getMetricLostCount());
Assert.assertEquals(0, kafkaEmitter.getAlertLostCount()); Assert.assertEquals(0, kafkaEmitter.getAlertLostCount());
Assert.assertEquals(0, kafkaEmitter.getSegmentMetadataLostCount()); Assert.assertEquals(0, kafkaEmitter.getRequestLostCount());
Assert.assertEquals(0, kafkaEmitter.getSegmentMetadataLostCount()); Assert.assertEquals(0, kafkaEmitter.getSegmentMetadataLostCount());
Assert.assertEquals(0, kafkaEmitter.getInvalidLostCount()); Assert.assertEquals(0, kafkaEmitter.getInvalidLostCount());
} }