Skip to content

Commit 6f54ba9

Browse files
committed
assert
Signed-off-by: Attila Mészáros <[email protected]>
1 parent 30c506d commit 6f54ba9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spark-operator/src/test/java/org/apache/spark/k8s/operator/config/SparkOperatorConfigMapReconcilerTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class SparkOperatorConfigMapReconcilerTest {
3131
Operator operator;
3232

3333
@BeforeEach
34+
@SuppressWarnings("unchecked")
3435
void startController() {
3536
var reconciler =
3637
new SparkOperatorConfigMapReconciler(mock(Function.class), mock(Function.class));
@@ -53,6 +54,8 @@ void sanityTest() {
5354
() -> {
5455
assertThat(RECONCILER_INTERVAL_SECONDS.getValue()).isEqualTo(60L);
5556
});
57+
// adding this here to make pmd happy
58+
assertThat(RECONCILER_INTERVAL_SECONDS.getValue()).isEqualTo(60L);
5659
}
5760

5861
ConfigMap testConfigMap() {

0 commit comments

Comments
 (0)