1. 05 5月, 2017 1 次提交
  2. 03 5月, 2017 2 次提交
  3. 02 5月, 2017 1 次提交
  4. 28 4月, 2017 1 次提交
  5. 26 4月, 2017 2 次提交
  6. 22 4月, 2017 2 次提交
  7. 19 4月, 2017 1 次提交
  8. 15 4月, 2017 2 次提交
  9. 14 4月, 2017 2 次提交
  10. 12 4月, 2017 1 次提交
  11. 04 4月, 2017 1 次提交
  12. 01 4月, 2017 2 次提交
    • C
    • H
      Rewrite kerberos tests (#2087) · 2415aff4
      Heikki Linnakangas 提交于
      * Rewrite Kerberos test suite
      
      * Remove obsolete Kerberos test stuff from pipeline and TINC
      
      We now have a rewritten Kerberos test script in installcheck-world.
      
      * Update ICW kerberos test to run on concourse container
      
      This adds a whole new test script in src/test/regress, implemented in plain bash. It sets up temporary a KDC as part of the script, and doesn't therefore rely on a pre-existing Kerberos server, like the old MU_kerberos-smoke test job did. It does require MIT Kerberos server-side utilities to be installed, instead, but no server needs to be running, and no superuser privileges are required.
      
      This supersedes the MU_kerberos-smoke behave tests. The new rewritten bash script tests the same things:
        1. You cannot connect to the server before running 'kinit' (to verify that the server doesn't just let anyone in, which could happen if the pg_hba.conf is misconfigured for the test, for example)
        2. You can connect, after running 'kinit'
        3. You can no longer connect, if the user account is expired
      
      The new test script is hooked up to the top-level installcheck-world target.
      
      There were also some Kerberos-related tests in TINC. Remove all that, too. They didn't seem interesting in the first place, looks like they were just copies of a few random other tests, intended to be run as a smoke test, after a connection had been authenticated with Kerberos, but there was nothing in there to actually set up the Kerberos environment in TINC.
      
      Other minor patches added:
      
      * Remove absolute path when calling kerberos utilities
      -- assume they are on path, so that they can be accessed from various installs
      -- add clarification message if sample kerberos utility is not found with 'which'
      
      * Specify empty load library for kerberos tools
      
      * Move kerberos test to its own script file
      -- this allows a failure to be recorded without exiting Make, and
      therefore the server can be turned off always
      
      * Add trap for stopping kerberos server in all cases
      * Use localhost for kerberos connection
      Signed-off-by: NMarbin Tan <mtan@pivotal.io>
      Signed-off-by: NChumki Roy <croy@pivotal.io>
      Signed-off-by: NLarry Hamel <lhamel@pivotal.io>
      2415aff4
  13. 31 3月, 2017 2 次提交
  14. 30 3月, 2017 1 次提交
    • J
      Validate restoring a 4.3.x backup to a GPDB 5 database (#2074) · 12b0285c
      Jamie McAtamney 提交于
      This commit splits up the single backup.feature file (where each
      scenario both dumps and restores data) into two files, 
      dumps_only.feature which performs all necessary dumps and is 
      run against a 4.3 database and restores_only.feature which 
      performs the corresponding restores and is run against a 5 
      database. It also adds and/or modifies Behave steps to account
      for differences in functionality between 4.3 and 5. It uses the 
      installed GPDB python version when running behave tests. This is
      necessary when running different versions of Greenplum with the 
      same behave feature file.
      
      Authors: Karen Huddleston, Chris Hajas, Todd Sedano
      12b0285c
  15. 28 3月, 2017 2 次提交
    • M
      Revert "Rewrite kerberos tests (#2087)" · a0f20dfc
      Management and Monitoring Team 提交于
      -- it is red in pipeline with a report of OoM, but that could actually
      be a symptom of a missing library.
      
      This reverts commit e4976920.
      a0f20dfc
    • M
      Rewrite kerberos tests (#2087) · e4976920
      Marbin Tan 提交于
      * Rewrite Kerberos test suite
      
      * Remove obsolete Kerberos test stuff from pipeline and TINC
      
      We now have a rewritten Kerberos test script in installcheck-world.
      
      * Update ICW kerberos test to run on concourse container
      
      This adds a whole new test script in src/test/regress, implemented in plain bash. It sets up temporary a KDC as part of the script, and doesn't therefore rely on a pre-existing Kerberos server, like the old MU_kerberos-smoke test job did. It does require MIT Kerberos server-side utilities to be installed, instead, but no server needs to be running, and no superuser privileges are required.
      
      This supersedes the MU_kerberos-smoke behave tests. The new rewritten bash script tests the same things:
        1. You cannot connect to the server before running 'kinit' (to verify that the server doesn't just let anyone in, which could happen if the pg_hba.conf is misconfigured for the test, for example)
        2. You can connect, after running 'kinit'
        3. You can no longer connect, if the user account is expired
      
      The new test script is hooked up to the top-level installcheck-world target.
      
      There were also some Kerberos-related tests in TINC. Remove all that, too. They didn't seem interesting in the first place, looks like they were just copies of a few random other tests, intended to be run as a smoke test, after a connection had been authenticated with Kerberos, but there was nothing in there to actually set up the Kerberos environment in TINC.
      
      Other minor patches added:
      
      * Remove absolute path when calling kerberos utilities
      -- assume they are on path, so that they can be accessed from various installs
      -- add clarification message if sample kerberos utility is not found with 'which'
      
      * Specify empty load library for kerberos tools
      
      * Move kerberos test to its own script file
      -- this allows a failure to be recorded without exiting Make, and
      therefore the server can be turned off always
      
      * Add trap for stopping kerberos server in all cases
      * Use localhost for kerberos connection
      Signed-off-by: NMarbin Tan <mtan@pivotal.io>
      Signed-off-by: NChumki Roy <croy@pivotal.io>
      Signed-off-by: NLarry Hamel <lhamel@pivotal.io>
      e4976920
  16. 21 3月, 2017 1 次提交
    • J
      Modified gprestore_filter.py to include CASTs · e8dd6b61
      Jamie McAtamney 提交于
      Previously, any restore that filtered based on table or
      schema name did not restore user-created CASTs because
      they were not included in the filter. This commit adds
      support for restoring casts with table and schema filters
      and the --change-schema flag.
      e8dd6b61
  17. 17 3月, 2017 1 次提交
  18. 09 3月, 2017 1 次提交
    • C
      Set timezone to PST in gptransfer tests. (#1991) · ed105b12
      Chris Hajas 提交于
      - Update sql/answer files to set timezone to PST.
      - This prevents test failures if the tests are run on a
        machine that has a different timezone.
      
      Authors: Chris Hajas and Karen Huddleston
      ed105b12
  19. 08 3月, 2017 2 次提交
  20. 04 3月, 2017 1 次提交
    • J
      Changed backup file naming conventions to incorporate content id. (#1861) · ca124632
      Jamie McAtamney 提交于
      Previously, backup files were keyed only to the dbid of the segment from
      which they were backed up, which caused problems when trying to restore
      files backed up on a mirror segment, restore files to a new cluster with
      a different dbid mapping, and so forth.
      
      This commit fixes the above issues by changing the backup file naming
      convention to incorporate the content id of the backed-up segment and
      enables restoring files based on the content id.  Also, gpdbrestore
      seamlessly handles mixing the old and new filename formats, so users can
      still restore a backup made with a GPDB 4.3 version of gpcrondump that
      used the old format.
      ca124632
  21. 25 2月, 2017 1 次提交
    • D
      Analyzedb - add test case for analyze root partition · 92fcd8ae
      Dhanashree Kashid 提交于
      Added a test for following scenario:
      When analyzedb is run without --skip_root_partition flag like below,
      it should also analyze the root partitions.
      
      `analyzedb -d <dbname> -s <schema> -a`
      
      The root parition table gets listed only in the report file (and not in
      any state files), hence added appropriate routines for checking the root
      partition in the report file.
      Signed-off-by: NJemish Patel <jpatel@pivotal.io>
      92fcd8ae
  22. 24 2月, 2017 1 次提交
  23. 16 2月, 2017 1 次提交
  24. 14 2月, 2017 1 次提交
  25. 10 2月, 2017 1 次提交
    • J
      Update string escaping to account for standard_conforming_strings. · 60bce0cd
      Jamie McAtamney 提交于
      Because the standard_conforming_strings GUC has been updated to be
      on by default, using pg.escape_string (which assumes that the GUC
      is off) is no longer sufficient to escape all strings in backup
      and restore.  Backup and restore now use pg.DB().escape_string,
      which connects to the database so that it can use the correct value
      for standard_conforming_strings.
      
      Authors: Karen Huddleston, Jamie McAtamney
      60bce0cd
  26. 01 2月, 2017 3 次提交
  27. 28 1月, 2017 2 次提交
  28. 26 1月, 2017 1 次提交