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

mysql related tests are disabled, and failing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: