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:25:12 UTC

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

     [ https://issues.apache.org/jira/browse/SQOOP-794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guido Serra aka Zeph updated SQOOP-794:
---------------------------------------

    Description: 
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}

  was:
{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}

    
> 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