aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes/netperf
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2022-10-21 15:52:10 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2022-10-21 15:53:33 +0200
commit1234fc4da37aedf8dfac3af82319919ba2096c50 (patch)
treef27aaf681888cc0d9423b335ec5a288a15da395e /functest_kubernetes/netperf
parentd6794afa0ccfc91e744078b52b17aa9524deb4bc (diff)
Stop hardcoding KUBECONFIG
Change-Id: I6ac15eb3686d6502dfa1bbe179622693b1961f45 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit abcc9aa9e57a8af8e4479f897a77c22b16324f6a)
Diffstat (limited to 'functest_kubernetes/netperf')
-rw-r--r--functest_kubernetes/netperf/netperf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/functest_kubernetes/netperf/netperf.py b/functest_kubernetes/netperf/netperf.py
index 2bd1e1be..31788176 100644
--- a/functest_kubernetes/netperf/netperf.py
+++ b/functest_kubernetes/netperf/netperf.py
@@ -44,7 +44,7 @@ class Netperf(testcase.TestCase):
if not os.path.exists(self.res_dir):
os.makedirs(self.res_dir)
cmd = ['launch', '-iterations', '1', '-kubeConfig',
- '/root/.kube/config']
+ '~/.kube/config']
output = subprocess.check_output(cmd, stderr=subprocess.STDOUT)
self.__logger.info("%s\n%s", " ".join(cmd), output.decode("utf-8"))
lfiles = glob.glob(os.path.join(