Make DmlTest a valid JUnit test; but suppress execution as it does not work (missing asterix-configuration.xml file)
diff --git a/asterix-app/src/test/java/edu/uci/ics/asterix/test/dml/DmlTest.java b/asterix-app/src/test/java/edu/uci/ics/asterix/test/dml/DmlTest.java
index 33e1f88..0f2aeb8 100644
--- a/asterix-app/src/test/java/edu/uci/ics/asterix/test/dml/DmlTest.java
+++ b/asterix-app/src/test/java/edu/uci/ics/asterix/test/dml/DmlTest.java
@@ -21,6 +21,8 @@
import java.io.PrintWriter;
import java.io.Reader;
+import org.junit.Test;
+
import edu.uci.ics.asterix.api.common.AsterixHyracksIntegrationUtil;
import edu.uci.ics.asterix.api.java.AsterixJavaClient;
import edu.uci.ics.asterix.common.exceptions.AsterixException;
@@ -41,6 +43,7 @@
private static final PrintWriter ERR = new PrintWriter(System.err);
+ @Test
public void enlistTest() throws Exception {
File outdir = new File(PATH_ACTUAL);
if (outdir.exists()) {
diff --git a/pom.xml b/pom.xml
index 3e7e43e..1585923 100644
--- a/pom.xml
+++ b/pom.xml
@@ -30,8 +30,9 @@
<optimizer.tests>**/optimizer/**/*Test.java</optimizer.tests>
<metadata.tests>**/metadata/*Test.java</metadata.tests>
<execution.tests>**/ExecutionTest.java</execution.tests>
+ <invalid.tests>**/DmlTest.java</invalid.tests>
<test.includes>**/*TestSuite.java,**/*Test.java</test.includes>
- <test.excludes>${optimizer.tests},${metadata.tests},${execution.tests}</test.excludes>
+ <test.excludes>${optimizer.tests},${metadata.tests},${execution.tests},${invalid.tests}</test.excludes>
</properties>
<build>
@@ -106,6 +107,12 @@
<execution.tests />
</properties>
</profile>
+ <profile>
+ <id>invalid-tests</id>
+ <properties>
+ <invalid.tests />
+ </properties>
+ </profile>
<profile>
<id>32bitvm</id>
<activation>