janhoy commented on code in PR #1240:
URL: https://github.com/apache/solr/pull/1240#discussion_r1049063326


##########
solr/packaging/test/test_start_solr.bats:
##########
@@ -31,6 +31,7 @@ teardown() {
 @test "SOLR11740 check f" {
   solr start
   solr start -p 7574
+  sleep 5

Review Comment:
   You can assert solr is running, which will return status 0 immediately if 
solr is running, else wait.
   ```suggestion
     solr assert --started http://localhost:8983/solr --timeout 5000
     solr assert --started http://localhost:7574/solr --timeout 5000
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to