janhoy opened a new pull request, #861:
URL: https://github.com/apache/solr-operator/pull/861

   The smoke test intermittently fails right after `Check the admin URL to make 
sure it works`. The run log shows why: the backgrounded `kubectl port-forward` 
logged `Forwarding from 127.0.0.1:18983` **540ms after** the `curl` following 
the fixed `sleep 2` had already been refused. Under `set -e` a refused 
connection aborts the whole smoke test.
   
   Replaces the two `sleep 2` calls that follow a port-forward with a helper 
that polls the port until it answers, up to 60s. The `sleep 15` before the 
prometheus exporter query is left alone, since it waits for the exporter to 
scrape rather than for the forward.
   
   Seen on [run 
40035568922](https://github.com/apache/solr-operator/actions/runs/40035568922) 
(PR #856); the same test passed on another branch on the same runner image, so 
it is a flake rather than a regression.
   
   ---
   🤖 AI assisted
   


-- 
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