You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gpMgmt/test/behave/mgmt_utils/gpcheckcat.feature
+2-7Lines changed: 2 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -317,8 +317,7 @@ Feature: gpcheckcat tests
317
317
And the user runs "psql extra_pk_db -c 'CREATE SCHEMA my_pk_schema' "
318
318
And the user runs "psql extra_pk_db -f test/behave/mgmt_utils/steps/data/gpcheckcat/add_operator.sql "
319
319
Then psql should return a return code of 0
320
-
And the user runs "psql extra_pk_db -c "set allow_system_table_mods=true;DELETE FROM pg_catalog.pg_operator where oprname='!#'" "
321
-
Then psql should return a return code of 0
320
+
Then The user runs sql "set allow_system_table_mods=true;DELETE FROM pg_catalog.pg_operator where oprname='!#'" in "extra_pk_db" on first primary segment
322
321
When the user runs "gpcheckcat -R missing_extraneous extra_pk_db"
323
322
Then gpcheckcat should return a return code of 3
324
323
And the path "gpcheckcat.repair.*" is found in cwd "0" times
@@ -728,18 +727,14 @@ Feature: gpcheckcat tests
728
727
And the user runs "dropdb all_good"
729
728
730
729
731
-
Scenario:validate session GUC passed with -x is set
730
+
Scenario:gpcheckcat accepts session GUC passed with -x in single node mode
732
731
Given the database is not running
733
732
And the user runs "gpstart -ma"
734
733
And "gpstart -ma" should return a return code of 0
735
-
Then the user runs "gpcheckcat -R foreign_key"
736
-
Then gpcheckcat should return a return code of 1
737
-
And gpcheckcat should print ".* System was started in single node mode - only utility mode connections are allowed" to stdout
738
734
Then the user runs "gpcheckcat -x gp_role=utility -R foreign_key"
0 commit comments