[ https://issues.apache.org/jira/browse/SQOOP-3055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15705472#comment-15705472 ]
Attila Szabo commented on SQOOP-3055: ------------------------------------- Hi [~szonyi], Thanks for your contribution! It's very important that all of our test cases receive the right configuration/settings. Thanks, [~maugli] > SQOOP-3055 MYSQL tests are failing due to the tests ignoring specified > username, password and dbname, trying to connect to specified host using > "currentUser" > ------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: SQOOP-3055 > URL: https://issues.apache.org/jira/browse/SQOOP-3055 > Project: Sqoop > Issue Type: Sub-task > Reporter: Anna Szonyi > Assignee: Anna Szonyi > Fix For: 1.4.7 > > Attachments: SQOOP-3055-2.patch, SQOOP-3055-3.patch, > SQOOP-3055-4.patch, SQOOP-3055.patch > > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)