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

          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
          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-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-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
          Cheolsoo Park added a comment -

          Committed to trunk. Thanks Jarcec!

          Show
          Cheolsoo Park added a comment - Committed to trunk. Thanks Jarcec!

            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