...
- Make sure the code compiles and all tests pass.
- If the pull request changes any POM.xml file: Please either clean your local maven repository before testing OR wait for the build servers to confirm that the project builds. This is to avoid situations in which an artifact was renamed or removed but is still in your local maven repository.
Test java code
At REEF root folder
mvn clean installtitle Run Java Tests To run tests in command line, go to folder $REEFSourcePath\lang\cs\ and build the projects with the command line:
Code Block title Build .Net source code in debug mode msbuild Org.Apache.REEF.sln
Where $REEFSourcePath is REEF source code root folder.
Then run xUnit tests:
Code Block title Run .Net Tests using msbuild msbuild TestRunner.proj
Alternatively, open $REEFSourcePath\lang\cs\Org.Apache.REEF.sln in VS, rebuild entire solution, then run all tests in Test explore.
If the code touches code that you suspect might break on YARN or Mesos, please test on those environments. If you don't have access to a test environment, ask on the mailing list for help.
Make sure the code adheres to our coding guidelines.
Make sure that the additions don't create errors in a Apache RAT check via
mvn apache-rat:check
...