adoroszlai opened a new pull request #1292: HDDS-1964. TestOzoneClientProducer 
fails with ConnectException
   ## What changes were proposed in this pull request?
   `TestOzoneClientProducer` verifies that `RpcClient` cannot be created 
because OM address is not configured.  The call to `producer.createClient()` is 
expected to fail with the message `Couldn't create protocol`, which is 
triggered by `IllegalArgumentException: Could not find any configured addresses 
for OM. Please configure the system with`.  
bf457797f607f3aeeb2292e63f440cb13e15a2d9 added the default address as 
explicitly configured value, so client creation now progresses further and 
fails when it cannot connect to OM (which is not started by the unit test).
   This change simply sets the previous empty OM address for this test.
   It also adds log4j config for `s3gateway` tests to produce better output 
next time, because 
 it is not very helpful.
   ## How was this patch tested?
   $ mvn -Phdds -pl :hadoop-ozone-s3gateway test
   [INFO] Tests run: 77, Failures: 0, Errors: 0, Skipped: 0

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.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to