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:
parent
697c693ee7
commit
b5a2afccb2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue