We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95f410d commit 74f79f4Copy full SHA for 74f79f4
solr/solrj/src/test/org/apache/solr/client/solrj/impl/Http2SolrClientTest.java
@@ -712,7 +712,7 @@ public void testIdleTimeoutWithHttpClient() throws Exception {
712
713
// too little time to succeed
714
int packets = LuceneTestCase.RANDOM_MULTIPLIER == 1 ? 10 : 80; // 60 crosses a default timeout
715
- long timeToSendMs = packets * BasicHttpSolrClientTest.SlowStreamServlet.PACKET_MS;
+ long timeToSendMs = (long) packets * BasicHttpSolrClientTest.SlowStreamServlet.PACKET_MS;
716
QueryRequest req = new QueryRequest(SolrParams.of("count", "" + packets));
717
req.setResponseParser(new InputStreamResponseParser(FILE_STREAM));
718
assertIsTimeout(expectThrows(SolrServerException.class, () -> oldClient.request(req)));
0 commit comments