forked from greenplum-db/gpbackup-archive
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not process batches if skip file detected in restore_helper (#103)
* Do not process batches if skip file detected in restore_helper * Fix pattern format in log analyze * Fix test output pattern * Take into account forward pipe opening * Add more checks for skip file test * Remove unneeded command line argument * Add one more test, fix test with multiple files and fix typos * A few cosmetic changes * Fix typo and spelling * Rename tests to be more clear * Fix typos * Add one more test, cosmetic changes * Add more checks * Extract tests content into a function * Do not open new pipes if skip file detected * Code cleanup * Revert uninyentional change, use defer for closing files * use defer to close file * Use variadic function * Move tests under DescribeTable/Entry construct * Update integration/helper_test.go Co-authored-by: Georgy Shelkovy <[email protected]> * Update integration/helper_test.go Co-authored-by: Georgy Shelkovy <[email protected]> --------- Co-authored-by: Georgy Shelkovy <[email protected]>
- Loading branch information
Showing
2 changed files
with
202 additions
and
20 deletions.
There are no files selected for viewing
This file contains 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 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