MockSearchService concurrency fix (#47139)

Fixed MockSearchService concurrency, assertNoInFlightContext could
have false negative result (rarely).

Split out from #46060
Closes #47048
This commit is contained in:
Henning Andersen 2019-10-02 12:32:46 +02:00 committed by Henning Andersen
parent 697c693ee7
commit b5a2afccb2
1 changed files with 1 additions and 1 deletions

View File

@ -74,8 +74,8 @@ public class MockSearchService extends SearchService {
@Override @Override
protected void putContext(SearchContext context) { protected void putContext(SearchContext context) {
super.putContext(context);
addActiveContext(context); addActiveContext(context);
super.putContext(context);
} }
@Override @Override