forked from greenplum-db/gpbackup-archive
-
Notifications
You must be signed in to change notification settings - Fork 3
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
ADBDEV 6061 Add test for doRestoreAgent in gpbackup #102
Open
dkovalev1
wants to merge
37
commits into
master
Choose a base branch
from
ADBDEV-6061
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 30 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
df8e427
Add simple mocking and test for skip files for doRestoreAgent
dkovalev1 9106dc8
more clear test definition, add checks for pipes existance
dkovalev1 8d547f7
Add two more tests to mocking sample
dkovalev1 a738d7f
Merge branch 'master' into ADBDEV-6061
dkovalev1 2681013
Fix after merge
dkovalev1 68b4fcd
implement mocked methods
dkovalev1 189a078
Change variable case.
dkovalev1 35e7741
Rename symbols to follow code style
dkovalev1 381cf2b
Save all global variables on upper level for tests
dkovalev1 a2ad824
Add recent changes from ADBDEV-6012 and a few more tests
dkovalev1 aa5d445
Rename interfaces and structs
dkovalev1 64c5d30
use closeFileHandle instead of getting handle
dkovalev1 fc23f5a
Add closeAndDeletePipe to the Helper interface
dkovalev1 7fd9df3
Merge branch 'master' into ADBDEV-6061
dkovalev1 0171cee
Rename RestoreHelperImpl to RestoreHelper
dkovalev1 b1fab12
Do not save global variables for test and other cosmetic changes
dkovalev1 16e5f92
Merge branch 'master' into ADBDEV-6061
dkovalev1 b34c37f
Add test for plugin error conditions
dkovalev1 e45e70a
Refactoring suggested by the review
dkovalev1 247d924
Refactoring inspired by the code review
dkovalev1 6bba266
Changes according to review
dkovalev1 eaf99c6
revert some changes to helper.go, make refactroring smaller
dkovalev1 173fbba
Refactoring inspired by the code review
dkovalev1 696c2b2
Regactoring for the code review.
dkovalev1 3586685
Merge branch 'master' into ADBDEV-6061
dkovalev1 dd8a4da
Move comment into test description, simplify pipes list
dkovalev1 fb011fa
Use map search for opened pipes, use mocked struct to store preloaded…
dkovalev1 915c959
Use bool zero value as pipesMap lookup result
dkovalev1 898f5fa
Make code more readable
dkovalev1 08edf94
Simplify test after code review
dkovalev1 53402c7
Changes inspired by code review
dkovalev1 cae0e76
Fix build
dkovalev1 ac15111
move closing pipe to increase locality
dkovalev1 85e8b4f
Merge branch 'master' into ADBDEV-6061
dkovalev1 d9895dd
Merge branch 'master' into ADBDEV-6061
dkovalev1 adc6d29
Update tests to the current SUT state and pipe lifetime checks
dkovalev1 133454e
Merge branch 'master' into ADBDEV-6061
dkovalev1 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused var?