atezs82 commented on pull request #10574:
URL: https://github.com/apache/pulsar/pull/10574#issuecomment-844419733


   Regarding the CI failure it seems that a unit test for `BROKER_GROUP_1` was 
failing 
(`org.apache.pulsar.broker.loadbalance.LoadBalancerTest.testBrokerRanking`). I 
tried to execute the whole test suite locally by running `mvn clean install && 
./build/run_unit_group.sh BROKER_GROUP_1`, but eventually got a lot of failing 
tests due to various reasons (`Tests run: 1168, Failures: 818, Errors: 0, 
Skipped: 345`, I think most of the skips were happening because of the 
failures). 
   
   On the other hand, I managed to execute just the problematic unit test 
locally by running `mvn clean install && mvn -B -ntp -pl pulsar-broker 
-Dtest=LoadBalancerTest` (just copied the command form the .sh script). That 
ran without any problems:
   ```
   [INFO] -------------------------------------------------------
   [INFO]  T E S T S
   [INFO] -------------------------------------------------------
   [INFO] Running org.apache.pulsar.broker.loadbalance.LoadBalancerTest
   [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 87.75 
s - in org.apache.pulsar.broker.loadbalance.LoadBalancerTest
   [INFO]
   [INFO] Results:
   [INFO]
   [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0
   [INFO]
   ```
   
   Not exactly sure on how to proceed with this. Shall these test be executed 
locally, or do they need some kind of CI environment to run? Given that I could 
execute this locally, I would re-run the workflow on the CI but I think I lack 
privileges for doing so.


-- 
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:
us...@infra.apache.org


Reply via email to