File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
solr/core/src/test/org/apache/solr/handler Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -358,7 +358,7 @@ public void doTestDetails() throws Exception {
358
358
Object timesFailed = ((NamedList )details .get ("follower" )).get (IndexFetcher .TIMES_FAILED );
359
359
// SOLR-7134: we can have a fail because some mock index files have no checksum, will
360
360
// always be downloaded, and may not be able to be moved into the existing index
361
- assertTrue (i + ": " + "follower has fetch error count: " + ( String ) timesFailed , timesFailed == null || ((String ) timesFailed ).equals ( "1" ) );
361
+ assertTrue (i + ": " + "follower has fetch error count: " + timesFailed , timesFailed == null || ((Number ) timesFailed ).intValue () == 1 );
362
362
363
363
if (3 != i ) {
364
364
// index & fetch
You can’t perform that action at this time.
0 commit comments