You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Guido Serra aka Zeph (JIRA)" <ji...@apache.org> on 2012/12/19 14:53:12 UTC

[jira] [Comment Edited] (SQOOP-794) mysql related tests are disabled, and failing

    [ https://issues.apache.org/jira/browse/SQOOP-794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13535961#comment-13535961 ] 

Guido Serra aka Zeph edited comment on SQOOP-794 at 12/19/12 1:52 PM:
----------------------------------------------------------------------

k... I saw now the NOTE

{noformat}
  <!-- ================================================================== -->
  <!-- Run unit tests                                                     -->
  <!-- By default, we'll run the "normal" tests: Test*.java               -->
  <!-- To run third-party tests, run with -Dthirdparty=true               -->
  <!-- ================================================================== -->
{noformat}

and MySQLAuthTest is actually one of them...
                
      was (Author: zeph):
    k... I noticed now the NOTE

{noformat}
  <!-- ================================================================== -->
  <!-- Run unit tests                                                     -->
  <!-- By default, we'll run the "normal" tests: Test*.java               -->
  <!-- To run third-party tests, run with -Dthirdparty=true               -->
  <!-- ================================================================== -->
{noformat}

and MySQLAuthTest is actually one of them...
                  
> mysql related tests are disabled, and failing
> ---------------------------------------------
>
>                 Key: SQOOP-794
>                 URL: https://issues.apache.org/jira/browse/SQOOP-794
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Guido Serra aka Zeph
>            Assignee: Guido Serra aka Zeph
>
> the default tests executed by "ant test" skip all the ones related to MySQL ... why?
> {noformat}
> v1:sqoop zeph$ ant test -Dtestcase=MySQLAuthTest 
> ...
> run-tests:
>      [echo] Use Hadoop 23
>      [echo] Use org.apache.sqoop.manager.DefaultManagerFactory
> test-core:
>    [delete] Deleting directory /Users/zeph/tmp/sqoop/build/test/logs
>     [mkdir] Created dir: /Users/zeph/tmp/sqoop/build/test/logs
>    [delete] Deleting directory /Users/zeph/tmp/sqoop/build/test/data
>     [mkdir] Created dir: /Users/zeph/tmp/sqoop/build/test/data
>     [mkdir] Created dir: /Users/zeph/tmp/sqoop/build/cobertura/classes
>     [junit] Running com.cloudera.sqoop.manager.MySQLAuthTest
>     [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.332 sec
>     [junit] Test com.cloudera.sqoop.manager.MySQLAuthTest FAILED
> checkfailure:
>     [touch] Creating /Users/zeph/tmp/sqoop/build/testsfailed
> BUILD FAILED
> /Users/zeph/tmp/sqoop/build.xml:653: The following error occurred while executing this line:
> /Users/zeph/tmp/sqoop/build.xml:987: Unit tests failed!
> Total time: 13 seconds
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira