EdColeman commented on issue #2696:
URL: https://github.com/apache/accumulo/issues/2696#issuecomment-1145013445

   You can use maven to specify specific unit and IT tests.  For example to run 
just the RFileClientTest
   
   ```
   mvn verify -Dspotbugs.skip -Dit.test=skip_its -Dtest=RFileClientTest 
-Dspotbugs.skip -Drat.skip -Dformatter.skip -Dcheckstyle.skip -Dmodernizer.skip 
-Dimpsort.skip -Dsortpom.skip -DfailIfNoTests=false
   ```
   
   You can look for tests that exercise the Gather / Summaries.  To run 
specific ITs, replace skip_its in the above command with individual IT tests 
that you want to run.  I'm not sure what tests best exercise the Gatherer 
functionality to recommend a more specific set of tests that would be best to 
run.
   
   Similarly you can run just the QA checks that are automatically run on PR  
submission with:
   
   ```
   mvn --color=always clean verify package javadoc:jar -Psec-bugs -Perrorprone 
-DskipITs=true -DskipTests=true 
   ```
   
   Running a version of this before submitting a PR reduces common formatting 
and other errors that will cause the build to fail.
   
   To run a full set of tests and ITs:
   
   ```
   mvn --color=always clean verify -Psunny 
   ```
   


-- 
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: notifications-unsubscr...@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to