diff --git a/contrib/dataimporthandler/src/test/java/org/apache/solr/handler/dataimport/TestSqlEntityProcessor.java b/contrib/dataimporthandler/src/test/java/org/apache/solr/handler/dataimport/TestSqlEntityProcessor.java index 15c790bdb36..7e850c71f72 100644 --- a/contrib/dataimporthandler/src/test/java/org/apache/solr/handler/dataimport/TestSqlEntityProcessor.java +++ b/contrib/dataimporthandler/src/test/java/org/apache/solr/handler/dataimport/TestSqlEntityProcessor.java @@ -122,7 +122,7 @@ public class TestSqlEntityProcessor { break; count++; } - Assert.assertEquals(2, local.get()); + Assert.assertEquals(2, (int) local.get()); Assert.assertEquals(4, count); }