SOLR-14684: CloudExitableDirectoryReaderTest failing about 25% of the time (#1724)

This commit is contained in:
Cao Manh Dat 2020-08-21 15:41:04 +07:00 committed by GitHub
parent bbd21aa422
commit 2b2b9e71d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -213,7 +213,8 @@ public abstract class LBSolrClient extends SolrClient {
if (previousEx == null) {
suffix = ":" + zombieServers.keySet();
}
if (isTimeExceeded(timeAllowedNano, timeOutTime)) {
// Skipping check time exceeded for the first request
if (previousEx != null && isTimeExceeded(timeAllowedNano, timeOutTime)) {
throw new SolrServerException("Time allowed to handle this request exceeded"+suffix, previousEx);
}
if (serverStr == null) {