pgAdmin 4 commit: Skip tests where appropriate on GPDB. Fixes #3190

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin 4 commit: Skip tests where appropriate on GPDB. Fixes #3190
Date: 2018-03-13 19:32:38
Message-ID: E1evpf4-0008V6-FO@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Skip tests where appropriate on GPDB. Fixes #3190

Victoria & Joao @ Pivotal.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=876ce1799a115b5f67c35d8ff69999d39a1428a6
Author: Joao Pedro De Almeida Pereira <jdealmeidapereira(at)pivotal(dot)io>

Modified Files
--------------
.../servers/databases/casts/tests/test_cast_add.py | 2 +
.../databases/casts/tests/test_cast_delete.py | 2 +
.../servers/databases/casts/tests/test_cast_get.py | 2 +
.../servers/databases/casts/tests/test_cast_put.py | 2 +
.../event_triggers/tests/test_event_trigger_add.py | 2 +-
.../tests/test_event_trigger_delete.py | 2 +-
.../event_triggers/tests/test_event_trigger_get.py | 2 +-
.../event_triggers/tests/test_event_trigger_put.py | 2 +-
.../extensions/tests/test_extension_add.py | 2 +
.../extensions/tests/test_extension_delete.py | 2 +
.../extensions/tests/test_extension_get.py | 2 +
.../extensions/tests/test_extension_put.py | 2 +
.../tests/test_foreign_servers_add.py | 2 +
.../tests/test_foreign_servers_delete.py | 2 +
.../tests/test_foreign_servers_get.py | 2 +
.../tests/test_foreign_servers_put.py | 2 +
.../user_mapping/tests/test_user_mapping_add.py | 2 +
.../user_mapping/tests/test_user_mapping_delete.py | 2 +
.../user_mapping/tests/test_user_mapping_get.py | 2 +
.../user_mapping/tests/test_user_mapping_put.py | 2 +
.../foreign_data_wrappers/tests/test_fdw_add.py | 4 +
.../foreign_data_wrappers/tests/test_fdw_delete.py | 2 +
.../foreign_data_wrappers/tests/test_fdw_get.py | 2 +
.../foreign_data_wrappers/tests/test_fdw_put.py | 3 +
.../databases/languages/tests/test_language_add.py | 2 +
.../schemas/collations/tests/test_collation_add.py | 2 +
.../collations/tests/test_collation_delete.py | 2 +
.../schemas/collations/tests/test_collation_get.py | 2 +
.../schemas/collations/tests/test_collation_put.py | 2 +
.../domains/sql/gpdb_5.0_plus/properties.sql | 25 ++++++
.../schemas/domains/tests/test_domain_add.py | 1 -
.../databases/schemas/domains/tests/utils.py | 2 +-
.../foreign_tables/tests/test_foreign_table_add.py | 2 +
.../tests/test_foreign_table_delete.py | 2 +
.../foreign_tables/tests/test_foreign_table_get.py | 3 +
.../foreign_tables/tests/test_foreign_table_put.py | 3 +
.../functions/tests/test_trigger_func_add.py | 4 +-
.../functions/tests/test_trigger_func_delete.py | 4 +-
.../functions/tests/test_trigger_func_get.py | 4 +-
.../functions/tests/test_trigger_func_put.py | 4 +-
.../schemas/packages/tests/test_package_add.py | 5 +-
.../schemas/packages/tests/test_package_delete.py | 5 +-
.../schemas/packages/tests/test_package_get.py | 5 +-
.../schemas/packages/tests/test_package_put.py | 6 +-
.../schemas/sequences/tests/test_sequence_add.py | 3 +-
.../sequences/tests/test_sequence_delete.py | 2 +
.../schemas/sequences/tests/test_sequence_get.py | 2 +
.../schemas/sequences/tests/test_sequence_put.py | 2 +
.../schemas/synonyms/tests/test_synonym_add.py | 4 +-
.../schemas/synonyms/tests/test_synonym_delete.py | 4 +-
.../schemas/synonyms/tests/test_synonym_get.py | 4 +-
.../schemas/synonyms/tests/test_synonym_put.py | 5 +-
.../databases/schemas/tables/column/__init__.py | 17 +++-
.../tests/test_check_constraint_add.py | 2 +
.../tests/test_check_constraint_delete.py | 2 +
.../tests/test_check_constraint_get.py | 3 +
.../tests/test_check_constraint_put.py | 2 +
.../tests/test_index_constraint_add.py | 1 +
.../tests/test_index_constraint_delete.py | 1 +
.../tests/test_index_constraint_get.py | 1 +
.../tests/test_index_constraint_put.py | 1 +
.../sql/default/get_constraint_cols.sql | 5 +-
.../sql/gpdb_5.0_plus/get_constraint_cols.sql | 20 +++++
.../index/sql/gpdb_5.0_plus/column_details.sql | 25 ++++++
.../schemas/tables/tests/test_table_add.py | 4 +-
.../tables/tests/test_table_column_update.py | 96 ----------------------
.../schemas/tables/tests/test_table_put.py | 2 +-
.../databases/schemas/tables/tests/utils.py | 13 +--
.../tables/triggers/tests/test_triggers_add.py | 2 +
.../tables/triggers/tests/test_triggers_delete.py | 2 +
.../tables/triggers/tests/test_triggers_get.py | 2 +
.../tables/triggers/tests/test_triggers_put.py | 2 +
.../servers/databases/schemas/tables/utils.py | 35 ++++++--
.../templates/schema/gpdb_5.0_plus/sql/acl.sql | 8 +-
.../databases/schemas/tests/test_schema_get.py | 2 +-
.../databases/schemas/tests/test_schema_put.py | 2 +
.../servers/databases/schemas/types/__init__.py | 27 +++---
.../types/templates/type/sql/gpdb_5.0_plus/acl.sql | 7 ++
.../sql/gpdb_5.0_plus/additional_properties.sql | 34 ++++++++
.../type/sql/gpdb_5.0_plus/properties.sql | 31 +++++++
.../servers/databases/schemas/utils.py | 52 +-----------
.../schemas/views/tests/test_views_add.py | 2 +-
.../schemas/views/tests/test_views_delete.py | 2 +-
.../schemas/views/tests/test_views_get.py | 2 +-
.../schemas/views/tests/test_views_put.py | 2 +-
.../databases/sql/default/alter_online.sql | 1 +
.../servers/databases/tests/test_db_add.py | 2 +-
.../servers/databases/tests/test_db_delete.py | 2 +-
.../servers/databases/tests/test_db_put.py | 2 +
.../server_groups/servers/databases/tests/utils.py | 2 +-
.../tests/test_resource_groups_add.py | 2 +-
.../tests/test_resource_groups_delete.py | 2 +-
.../tests/test_resource_groups_put.py | 2 +-
.../tests/tests_resource_groups_get.py | 2 +-
.../roles/templates/role/sql/post8_4/create.sql | 9 +-
.../templates/role/sql/post8_4/properties.sql | 2 +-
.../roles/templates/role/sql/post8_4/sql.sql | 1 -
.../roles/templates/role/sql/post8_4/update.sql | 7 +-
.../servers/roles/tests/test_role_add.py | 2 +-
.../servers/tablespaces/tests/test_tbspc_add.py | 2 +-
.../servers/tablespaces/tests/test_tbspc_get.py | 2 +-
.../utils/tests/test_start_running_query.py | 47 +++++++----
web/pgadmin/utils/route.py | 26 ++++--
.../tests/utils.py => utils/server_utils.py} | 5 +-
web/regression/python_test_utils/test_utils.py | 36 ++++----
web/regression/runtests.py | 11 ++-
web/regression/test_config.json.in | 2 +-
107 files changed, 454 insertions(+), 286 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2018-03-13 19:32:48 Re: [pgadmin4][patch] Unit test fail on GreenPlum (#3190)
Previous Message Dave Page 2018-03-13 18:47:49 Re: [pgAdmin4][RM#3140] Add service parameter