...
How do I run all of the unit tests?
Code Block | ||
---|---|---|
| ||
mvn test -Phadoop-2
cd itests
mvn test -Phadoop-2
|
Note that you need to have previously built and installed the jars:
Code Block | ||
---|---|---|
| ||
mvn clean install -DskipTests -Phadoop-2
cd itests
mvn clean install -DskipTests -Phadoop-2
|
Info | ||
---|---|---|
| ||
Make sure that your JAVA_HOME is appropriately set (some tests need this), and |
...
set ANT_OPTS to increase the size allocated to the Permanent Generation as per the following:
Then, for a clean build, run
|
MVN:
mvn test -Phadoop-1
cd itests
mvn test -Phadoop-1
| |
Note that |
...
running |
...
will not work; |
...
does some setup work that is required for the testcases to run successfully. |
...
MVN: Note that you need to have previously built and installed the jars:
Code Block |
---|
mvn clean install -DskipTests -Phadoop-1 cd itests mvn clean install -DskipTests -Phadoop-1 |
How do I update the output of a CliDriver testcase?
Code Block |
---|
ant test -Dtestcase=TestCliDriver -Dqfile=alter1.q -Doverwrite=true |
...