Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-794

mysql related tests are disabled, and failing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      the default tests executed by "ant test" skip all the ones related to MySQL ... why?

      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
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zeph Guido Serra aka Zeph
                Reporter:
                zeph Guido Serra aka Zeph
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: