Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-3050 Create an compile/execution profile which is capable of running all the available test (including the 3rd party tests)
  3. SQOOP-3055

SQOOP-3055 MYSQL tests are failing due to the tests ignoring specified username, password and dbname, trying to connect to specified host using "currentUser"

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.7
    • Component/s: None
    • Labels:
      None

      Description

      MYSQL test are using option.setUser(MySQLTestUtils.getcurrentUser()), where MySQLTestUtils.getCurrentUser() return
      System.getenv("USER");
      or
      ..
      whoamiArgs[0] = "whoami";
      ..
      p = Runtime.getRuntime().exec(whoamiArgs);

      Whereas it should use the userName and userPass as specified if called with -D parameters (if they are specified, otherwise should fall back to ).

      Currently the tests could only run when using localhost + root.

        Attachments

        1. SQOOP-3055-4.patch
          21 kB
          Anna Szonyi
        2. SQOOP-3055-3.patch
          21 kB
          Anna Szonyi
        3. SQOOP-3055-2.patch
          21 kB
          Anna Szonyi
        4. SQOOP-3055.patch
          19 kB
          Anna Szonyi

          Issue Links

            Activity

              People

              • Assignee:
                szonyi Anna Szonyi
                Reporter:
                szonyi Anna Szonyi
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: