mirror of https://github.com/apache/lucene.git
remove bad assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1407328 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cd7dfb5ca6
commit
504938ec03
|
@ -244,8 +244,13 @@ public class TestShardSearching extends ShardSearchingTestBase {
|
||||||
System.out.println(" searcher expired during search: " + see);
|
System.out.println(" searcher expired during search: " + see);
|
||||||
see.printStackTrace(System.out);
|
see.printStackTrace(System.out);
|
||||||
}
|
}
|
||||||
assert prevSearchState != null;
|
// We can't do this in general: on a very slow
|
||||||
priorSearches.remove(prevSearchState);
|
// computer it's possible the local searcher
|
||||||
|
// expires before we can finish our search:
|
||||||
|
// assert prevSearchState != null;
|
||||||
|
if (prevSearchState != null) {
|
||||||
|
priorSearches.remove(prevSearchState);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Reference in New Issue