lhotari opened a new pull request, #15924:
URL: https://github.com/apache/pulsar/pull/15924

   Fixes #6298
   
   ### Motivation
   
   There's a long outstanding flaky CPP test AuthPluginTest.testAthenz which 
causes CPP builds to fail frequently.
   There's a race condition in the test. mockZTS might not be started. Error 
message is 
   `ERROR [140642816536256] ZTSClient:367 | Response failed for url 
http://localhost:9999/zts/v1/domain/pulsar.test.provider/token. Error Code 7` . 
   
   Error Code 7 is `CURLE_COULDNT_CONNECT (7) - Failed to connect() to host or 
proxy.` [in libcurl error 
codes](https://curl.se/libcurl/c/libcurl-errors.html). 
   
   ### Modifications
   
   Wait for mockZTS to start before connecting to it.


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

Reply via email to