Skip to content

Commit 01ff6e6

Browse files
committed
fix assert pmd hack
Signed-off-by: Attila Mészáros <[email protected]>
1 parent 7dab79d commit 01ff6e6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ void stopController() {
6565
}
6666

6767
@Test
68+
@SuppressWarnings("PMD.UnitTestShouldIncludeAssert")
6869
void sanityTest() {
6970
client.resource(testConfigMap()).create();
7071

@@ -73,8 +74,6 @@ void sanityTest() {
7374
() -> {
7475
assertThat(RECONCILER_INTERVAL_SECONDS.getValue()).isEqualTo(60L);
7576
});
76-
// adding this here to make pmd happy
77-
assertThat(RECONCILER_INTERVAL_SECONDS.getValue()).isEqualTo(60L);
7877
}
7978

8079
ConfigMap testConfigMap() {

0 commit comments

Comments
 (0)