mirror of https://github.com/apache/lucene.git
SOLR-9614: fixing TestSolrCloudWithKerberosAlt
This commit is contained in:
parent
d8bb56d4ad
commit
9fea5129d3
|
@ -406,9 +406,8 @@ public class HttpClientUtil {
|
||||||
* in connection pools if client authentication is enabled.
|
* in connection pools if client authentication is enabled.
|
||||||
*/
|
*/
|
||||||
public static HttpClientContext createNewHttpClientRequestContext() {
|
public static HttpClientContext createNewHttpClientRequestContext() {
|
||||||
HttpClientContext context = new HttpClientContext();
|
HttpClientContext context = httpClientRequestContextBuilder.createContext(HttpSolrClient.cacheKey);
|
||||||
|
|
||||||
context.setUserToken(HttpSolrClient.cacheKey);
|
|
||||||
return context;
|
return context;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue