hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-2268) [stargate] "Failed tests: warning(junit.framework.TestSuite$1)" and DEBUG output is dumped to console since move to Mavenized build
Date Thu, 25 Feb 2010 20:36:28 GMT

    [ https://issues.apache.org/jira/browse/HBASE-2268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838529#action_12838529
] 

Andrew Purtell commented on HBASE-2268:
---------------------------------------

Up on irc tallpsmith suggests:

{code}
index 26cee50..7822272 100644
--- a/core/pom.xml
+++ b/core/pom.xml
-76,8 +76,6 @@
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
           <forkMode>always</forkMode>
-          <argLine>-Xmx512m</argLine>
-          <redirectTestOutputToFile>true</redirectTestOutputToFile>
           <excludes>
             <exclude>**/SoftValueSortedMapTest.java</exclude>
             <exclude>**/*$*</exclude>
diff --git a/pom.xml b/pom.xml
index f5d4138..da82cc2 100644
--- a/pom.xml
+++ b/pom.xml
 -259,6 +259,10 @@
         <plugin>
           <artifactId>maven-surefire-plugin</artifactId>
           <version>2.5</version>
+            <configuration>
+                <argLine>-Xmx512m</argLine>
+                <redirectTestOutputToFile>true</redirectTestOutputToFile>   
            
+            </configuration>
         </plugin>
         <plugin>
           <artifactId>maven-javadoc-plugin</artifactId>
{code}

And to rename MiniClusterTestCase.java to something other with TestCase in the name. 


> [stargate] "Failed tests: warning(junit.framework.TestSuite$1)" and DEBUG output is dumped
to console since move to Mavenized build
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-2268
>                 URL: https://issues.apache.org/jira/browse/HBASE-2268
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: Andrew Purtell
>             Fix For: 0.21.0
>
>
> Two problems with running unit tests since Stargate was moved to Maven, possibly related:
> 1) DEBUG output from tests is dumped to console.
> 2) "Failed tests: warning(junit.framework.TestSuite$1)" -- what?
> {noformat}
> Results :
> Failed tests: 
>   warning(junit.framework.TestSuite$1)
> Tests run: 76, Failures: 1, Errors: 0, Skipped: 0
> {noformat}
> Someone who knows Maven, can you take a look at this?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message