Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1580,7 +1580,6 @@ class BeamModulePlugin implements Plugin<Project> {
"NullableWildcard",
"StringCharset",
"SuperCallToObjectMethod",
"UnnecessaryLongToIntConversion",
"UnusedVariable",
// intended suppressions emerged in newer protobuf versions
"AutoValueBoxedValues",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ private StreamingGlobalConfig createPipelineConfig(StreamingConfigTask config) {
if (config.getMaxWorkItemCommitBytes() != null
&& config.getMaxWorkItemCommitBytes() > 0
&& config.getMaxWorkItemCommitBytes() <= Integer.MAX_VALUE) {
operationalLimits.setMaxWorkItemCommitBytes(config.getMaxWorkItemCommitBytes().intValue());
operationalLimits.setMaxWorkItemCommitBytes(config.getMaxWorkItemCommitBytes());
}

if (config.getOperationalLimits() != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public void testSamzaInputAndOutputMetricOp() {
// Latency must be positive
assertTrue(latency.getSnapshot().getAverage() > 0);
// Cache size must be 0
assertEquals(0, cacheSize.getValue().intValue());
assertEquals(0L, cacheSize.getValue().longValue());
}

@Test
Expand Down Expand Up @@ -318,6 +318,6 @@ public void testSamzaInputAndOutputGBKMetricOp() {
// Latency must be positive
assertTrue(latency.getSnapshot().getAverage() > 0);
// Cache size must be 0
assertEquals(0, cacheSize.getValue().intValue());
assertEquals(0L, cacheSize.getValue().longValue());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public void testSamzaTransformMetricsRegistryForNonShuffleOperators() {
.get("dummy-pvalue.out")
.containsKey(watermarkMessage.getTimestamp()));
// Cache size must be 0
assertEquals(0, cacheSize.getValue().intValue());
assertEquals(0L, cacheSize.getValue().longValue());
}

@Test
Expand Down Expand Up @@ -186,6 +186,6 @@ public Instant maxTimestamp() {
// Check the latency metric is same
assertTrue(1000 == latency.getSnapshot().getAverage());
// Cache size must be 0
assertEquals(0, cacheSize.getValue().intValue());
assertEquals(0L, cacheSize.getValue().longValue());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public void testReadFromSimpleTopic() throws PulsarClientException {
break;
}
}
assertEquals(inputsMock.size(), (int) recordsCount);
assertEquals(inputsMock.size(), recordsCount);
}

@Test
Expand Down
Loading