forked from greenplum-db/gpbackup-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integration: fix example plugin integration test to use relative paths
When gpbackup repo is not in $GOPATH and integration tests are run, tests that use the example plugin will hang because the test cannot proceed without the example plugin reading data from test pipes. This happens because the example plugin and it's config file locations were hardcoded to be in $GOPATH. This is a legacy issue from when go projects were required to be in $GOPATH. This requirement was changed to be optional in go1.11. This is an update to look for example plugin using a relative path. The test plugin config file is also now setup before tests run because the executablepath is also updated to be a relative path.
- Loading branch information
1 parent
defa05d
commit 0c22043
Showing
2 changed files
with
43 additions
and
21 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