Skip to content

Commit

Permalink
tests/e2e: fix COVERDIR path
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <[email protected]>
  • Loading branch information
gyuho committed Apr 9, 2018
1 parent dca14df commit 422acc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/etcd_spawn_cov.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func getCovArgs() ([]string, error) {
if !filepath.IsAbs(coverPath) {
// COVERDIR is relative to etcd root but e2e test has its path set to be relative to the e2e folder.
// adding ".." in front of COVERDIR ensures that e2e saves coverage reports to the correct location.
coverPath = filepath.Join("..", coverPath)
coverPath = filepath.Join("../..", coverPath)
}
if !fileutil.Exist(coverPath) {
return nil, fmt.Errorf("could not find coverage folder")
Expand Down

0 comments on commit 422acc9

Please sign in to comment.