From 422acc9018a4fee33cf3881b0442c2518e073dfd Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Mon, 9 Apr 2018 12:46:55 -0700 Subject: [PATCH] tests/e2e: fix COVERDIR path Signed-off-by: Gyuho Lee --- tests/e2e/etcd_spawn_cov.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/etcd_spawn_cov.go b/tests/e2e/etcd_spawn_cov.go index cf67d3776..f8805825c 100644 --- a/tests/e2e/etcd_spawn_cov.go +++ b/tests/e2e/etcd_spawn_cov.go @@ -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")