forked from greenplum-db/gpdb-archive
-
Notifications
You must be signed in to change notification settings - Fork 23
Refactor tests which use debug_dtm_action to use faultinjector #1967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
5e3277f
Refactoring of fault_injector to support former debug_dtm_action points
vbwagner 021fccd
Replace debug_dtm_action fault injection points with faultinjector calls
vbwagner 7e69c02
Remove debug_dtm_action* GUC variables
vbwagner eb7eb5d
Refactor tests which use debug_dtm_action
vbwagner 5102b1e
Expected results for test wihich use debug_dtm_actions
vbwagner 2c742a1
Improved README for gp_inject_fault extension
e6e1818
Add symbols, changed by the patch to .abi-check/ignore
922ea74
Fix list of changed symbols for abi-checker
ce230ac
Remove mention of debug_dtm_action vars
15e8512
Fix formatting problems found during review
be10025
Reset fault inserted by twophase_pqexecparams
d259baf
Fix typos in README file and test comments
fe9a6c2
pgindent additions to faultinjector.c
3c9a9b5
Remove declarations of Debug_dtm_action vars from guc.h
070be33
Fix typo in the comments in gp_inject_fault--1.0.sql
8171926
Add empty lines to make code more readable
00535a0
Fix indentation and typos in the faultinjector.h
f663762
Remove some nonsignificant changes from gp_inject_fault README
084e58e
Improve tests and diffs readability
e8017be
Remove debug_dtm_action-related types
8a34f88
Improve formattig of sql code of isolation2 test
e6d6b79
Undo removal of end-of-line whitespace to reduce diff size
7679d37
Undo removal whitespace from end-of-line in postgres.c
15abc06
Fix formatting of FI_DDL_STATEMENT macros
2f29b59
Fix minor formatting issues.
166095e
Minimize patch size by removing differences in out and sql
bef70ec
Restore end-of-line space in expected test result
471eb63
Move function description comments to c-file
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,16 @@ | ||
| ConfigureNamesInt_gp | ||
| ConfigureNamesEnum_gp | ||
| ConfigureNamesString_gp | ||
| ConfigureNamesBool_gp | ||
| transformCreateSchemaStmt | ||
| FaultInjector_InjectFaultIfSet_out_of_line | ||
| FaultInjector_InjectFaultIfSet_out_of_line_DTX | ||
| FaultInjector_InjectFaultIfSet_out_of_line_SQL | ||
| InjectFault | ||
| Debug_dtm_action | ||
| Debug_dtm_action_nestinglevel | ||
| Debug_dtm_action_primary | ||
| Debug_dtm_action_protocol | ||
| Debug_dtm_action_segment | ||
| Debug_dtm_action_sql_command_tag | ||
| Debug_dtm_action_target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,3 @@ | ||
| struct RunningTransactionsData | ||
| struct FaultInjectorEntry_s | ||
| DDLStatement_e |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.