You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2010/02/25 17:28:27 UTC

[jira] Created: (HBASE-2268) [stargate] "Failed tests: warning(junit.framework.TestSuite$1)" and DEBUG output is dumped to console since move to Mavenized build

[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.


[jira] Resolved: (HBASE-2268) [stargate] "Failed tests: warning(junit.framework.TestSuite$1)" and DEBUG output is dumped to console since move to Mavenized build

Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-2268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Purtell resolved HBASE-2268.
-----------------------------------

    Resolution: Fixed
      Assignee: Andrew Purtell

> [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
>            Assignee: 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.


[jira] Commented: (HBASE-2268) [stargate] "Failed tests: warning(junit.framework.TestSuite$1)" and DEBUG output is dumped to console since move to Mavenized build

Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-2268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838571#action_12838571 ] 

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

{{[INFO] BUILD SUCCESSFUL}}

Will commit as soon as svn is back.


> [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.


[jira] Commented: (HBASE-2268) [stargate] "Failed tests: warning(junit.framework.TestSuite$1)" and DEBUG output is dumped to console since move to Mavenized build

Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
    [ 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.