Skip to content

Commit

Permalink
[LI-FIXUP] Fix checkstyle warning RequestChannelTest.scala (#439)
Browse files Browse the repository at this point in the history
This should be a direct fix-up to 
- `e99f81c` Add support for request TotalTimeMs latency histograms (#423)
  • Loading branch information
lmr3796 authored Feb 21, 2023
1 parent fad47de commit dec729a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -359,10 +359,10 @@ class RequestChannelTest {
}
@Test
def testHistogram(): Unit = {
var props = new Properties()
val props = new Properties()
props.put(KafkaConfig.ZkConnectProp, "127.0.0.1:2181")
props.put(KafkaConfig.RequestMetricsTotalTimeBucketsProp, "0, 10, 30, 300")
var config = KafkaConfig.fromProps(props)
val config = KafkaConfig.fromProps(props)
val requestMetrics = new RequestMetrics("RequestMetrics", config)
val boundaries = Array(0, 10, 30, 300)
val histogram = new requestMetrics.Histogram("TotalTime", "Ms", boundaries)
Expand Down

0 comments on commit dec729a

Please sign in to comment.