Sqoop
  1. Sqoop
  2. SQOOP-859

PostgreSQL: Test cases have hard coded username and password

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.2
    • Fix Version/s: 1.4.4
    • Component/s: None
    • Labels:

      Description

      PostgreSQL test cases, files PostgresqlImportTest and PostgresqlExportTest have hard coded user name and password for the database. It would be great search for those two in properties and use the build in one only as a default option (very much like the jdbc url is being fetched right now.

      1. bugSQOOP-859.patch
        3 kB
        Jarek Jarcec Cecho

        Issue Links

          Activity

          Jarek Jarcec Cecho created issue -
          Jarek Jarcec Cecho made changes -
          Field Original Value New Value
          Remote Link This issue links to "Review board (Web Link)" [ 12041 ]
          Jarek Jarcec Cecho made changes -
          Attachment bugSQOOP-859.patch [ 12570703 ]
          Jarek Jarcec Cecho made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Assignee Jarek Jarcec Cecho [ jarcec ]
          Fix Version/s 1.4.4 [ 12324082 ]
          Hide
          Cheolsoo Park added a comment -

          Committed to trunk. Thanks Jarcec!

          Show
          Cheolsoo Park added a comment - Committed to trunk. Thanks Jarcec!
          Cheolsoo Park made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop23 #786 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop23/786/)
          SQOOP-859: PostgreSQL: Test cases have hard coded username and password (Revision 1d9339d2a4495a09b923d0051b723db26232148f)

          Result = SUCCESS
          cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=1d9339d2a4495a09b923d0051b723db26232148f
          Files :

          • src/test/com/cloudera/sqoop/manager/PostgresqlExportTest.java
          • src/test/com/cloudera/sqoop/manager/PostgresqlImportTest.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop23 #786 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop23/786/ ) SQOOP-859 : PostgreSQL: Test cases have hard coded username and password (Revision 1d9339d2a4495a09b923d0051b723db26232148f) Result = SUCCESS cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=1d9339d2a4495a09b923d0051b723db26232148f Files : src/test/com/cloudera/sqoop/manager/PostgresqlExportTest.java src/test/com/cloudera/sqoop/manager/PostgresqlImportTest.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop20 #576 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/576/)
          SQOOP-859: PostgreSQL: Test cases have hard coded username and password (Revision 1d9339d2a4495a09b923d0051b723db26232148f)

          Result = SUCCESS
          cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=1d9339d2a4495a09b923d0051b723db26232148f
          Files :

          • src/test/com/cloudera/sqoop/manager/PostgresqlImportTest.java
          • src/test/com/cloudera/sqoop/manager/PostgresqlExportTest.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop20 #576 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/576/ ) SQOOP-859 : PostgreSQL: Test cases have hard coded username and password (Revision 1d9339d2a4495a09b923d0051b723db26232148f) Result = SUCCESS cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=1d9339d2a4495a09b923d0051b723db26232148f Files : src/test/com/cloudera/sqoop/manager/PostgresqlImportTest.java src/test/com/cloudera/sqoop/manager/PostgresqlExportTest.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop100 #587 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/587/)
          SQOOP-859: PostgreSQL: Test cases have hard coded username and password (Revision 1d9339d2a4495a09b923d0051b723db26232148f)

          Result = SUCCESS
          cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=1d9339d2a4495a09b923d0051b723db26232148f
          Files :

          • src/test/com/cloudera/sqoop/manager/PostgresqlImportTest.java
          • src/test/com/cloudera/sqoop/manager/PostgresqlExportTest.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop100 #587 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/587/ ) SQOOP-859 : PostgreSQL: Test cases have hard coded username and password (Revision 1d9339d2a4495a09b923d0051b723db26232148f) Result = SUCCESS cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=1d9339d2a4495a09b923d0051b723db26232148f Files : src/test/com/cloudera/sqoop/manager/PostgresqlImportTest.java src/test/com/cloudera/sqoop/manager/PostgresqlExportTest.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop200 #573 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/573/)
          SQOOP-859: PostgreSQL: Test cases have hard coded username and password (Revision 1d9339d2a4495a09b923d0051b723db26232148f)

          Result = SUCCESS
          cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=1d9339d2a4495a09b923d0051b723db26232148f
          Files :

          • src/test/com/cloudera/sqoop/manager/PostgresqlImportTest.java
          • src/test/com/cloudera/sqoop/manager/PostgresqlExportTest.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop200 #573 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/573/ ) SQOOP-859 : PostgreSQL: Test cases have hard coded username and password (Revision 1d9339d2a4495a09b923d0051b723db26232148f) Result = SUCCESS cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=1d9339d2a4495a09b923d0051b723db26232148f Files : src/test/com/cloudera/sqoop/manager/PostgresqlImportTest.java src/test/com/cloudera/sqoop/manager/PostgresqlExportTest.java
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Patch Available Patch Available
          24d 5h 41m 1 Jarek Jarcec Cecho 25/Feb/13 02:15
          Patch Available Patch Available Resolved Resolved
          4d 22h 11m 1 Cheolsoo Park 02/Mar/13 00:26

            People

            • Assignee:
              Jarek Jarcec Cecho
              Reporter:
              Jarek Jarcec Cecho
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development