You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2015/05/12 03:59:43 UTC

[12/14] incubator-kylin git commit: KYLIN-746 test case under server folder are problematic when tested against minicluster

KYLIN-746 test case under server folder are problematic when tested against minicluster


Project: http://git-wip-us.apache.org/repos/asf/incubator-kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kylin/commit/8744f601
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/8744f601
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/8744f601

Branch: refs/heads/master
Commit: 8744f601854682604c03a4e5d3807236aeb766bf
Parents: 60c68c1
Author: honma <ho...@ebay.com>
Authored: Thu Apr 30 15:50:01 2015 +0800
Committer: honma <ho...@ebay.com>
Committed: Thu Apr 30 15:50:01 2015 +0800

----------------------------------------------------------------------
 pom.xml | 52 +++++++++++++++++++++++++++++++++-------------------
 1 file changed, 33 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/8744f601/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index f3a61c8..a775973 100644
--- a/pom.xml
+++ b/pom.xml
@@ -573,9 +573,15 @@
                                 <exclude>**/BuildIIWithEngineTest.java</exclude>
                                 <exclude>**/SampleCubeSetupTest.java</exclude>
                                 <exclude>**/KylinQueryTest.java</exclude>
-                                <exclue>**/SnapshotManagerTest.java</exclue>
-                                <exclue>**/HiveTableReaderTest.java</exclue>
+                                <exclude>**/SnapshotManagerTest.java</exclude>
+                                <exclude>**/HiveTableReaderTest.java</exclude>
                                 <exclude>**/TableControllerTest.java</exclude>
+
+                                <!--test case under server folder are problematic when tested against minicluster-->
+                                <exclude>**/ServiceTestBase.java</exclude>
+                                <exclude>**/JDBCDriverTest.java</exclude>
+                                <exclude>%regex[.*ControllerTest.*]</exclude>
+                                <exclude>%regex[.*ServiceTest.*]</exclude>
                             </excludes>
                             <systemProperties>
                                 <property>
@@ -587,7 +593,7 @@
                                     <value>false</value>
                                 </property>
                             </systemProperties>
-                            <argLine>-Xms1G -Xmx2G -XX:PermSize=128M -XX:MaxPermSize=256M</argLine>
+                            <argLine>-Xms1G -Xmx4G -XX:PermSize=128M -XX:MaxPermSize=512M</argLine>
                         </configuration>
                     </plugin>
 
@@ -602,16 +608,16 @@
             </activation>
             <build>
                 <plugins>
-                	 <plugin>
-    					<groupId>org.apache.maven.plugins</groupId>
-    					<artifactId>maven-compiler-plugin</artifactId>
-    					<version>2.5.1</version>
-    					<configuration>
-      						<fork>true</fork>
-     						<meminitial>1024m</meminitial>
-      						<maxmem>2048m</maxmem>
-    					</configuration>
-  					</plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-compiler-plugin</artifactId>
+                        <version>2.5.1</version>
+                        <configuration>
+                            <fork>true</fork>
+                            <meminitial>1024m</meminitial>
+                            <maxmem>2048m</maxmem>
+                        </configuration>
+                    </plugin>
                     <plugin>
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-surefire-plugin</artifactId>
@@ -661,9 +667,16 @@
                                 <exclude>**/BuildIIWithEngineTest.java</exclude>
                                 <exclude>**/SampleCubeSetupTest.java</exclude>
                                 <exclude>**/KylinQueryTest.java</exclude>
-                                <exclue>**/SnapshotManagerTest.java</exclue>
-                                <exclue>**/HiveTableReaderTest.java</exclue>
+                                <exclude>**/SnapshotManagerTest.java</exclude>
+                                <exclude>**/HiveTableReaderTest.java</exclude>
                                 <exclude>**/TableControllerTest.java</exclude>
+
+                                <!--test case under server folder are problematic when tested against minicluster-->
+                                <exclude>**/ServiceTestBase.java</exclude>
+                                <exclude>**/JDBCDriverTest.java</exclude>
+                                <exclude>%regex[.*ControllerTest.*]</exclude>
+                                <exclude>%regex[.*ServiceTest.*]</exclude>
+
                             </excludes>
                             <systemProperties>
                                 <property>
@@ -675,7 +688,7 @@
                                     <value>false</value>
                                 </property>
                             </systemProperties>
-                            <argLine>-Xms1G -Xmx2G -XX:PermSize=128M -XX:MaxPermSize=256M</argLine>
+                            <argLine>-Xms1G -Xmx4G -XX:PermSize=128M -XX:MaxPermSize=512M</argLine>
                         </configuration>
                     </plugin>
                     <!-- Apache-RAT checks for files without headers.
@@ -714,16 +727,17 @@
                                 <!-- json configuration file-->
                                 <exclude>webapp/.bowerrc</exclude>
                                 <exclude>webapp/.jshintrc</exclude>
-                                <!-- generated dict files -->                               
+                                <!-- generated dict files -->
                                 <exclude>dictionary/metastore_db/**</exclude>
-                                
+
                                 <!-- MIT license -->
                                 <exclude>webapp/app/css/AdminLTE-fonts.css</exclude>
                                 <exclude>webapp/app/css/AdminLTE.css</exclude>
 
                                 <!-- jdbc log -->
                                 <exclude>jdbc/kylin_jdbc.*</exclude>
-                              	
+                                <exclude>jdbc/kylin_jdbc.log.*</exclude>
+
                             </excludes>
                         </configuration>
                         <executions>