aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe/healthcheck-k8s.py
diff options
context:
space:
mode:
authorYang Xu <yang.xu@futurewei.com>2019-06-13 13:19:20 -0400
committerYang Xu <yang.xu@futurewei.com>2019-06-13 13:37:46 -0400
commit21b09c956609d3ebee0081686802d20da194c523 (patch)
tree2349f3054d9953195382a4d8fc3cd9ee0367b5d8 /test/vcpe/healthcheck-k8s.py
parent8f04ed2a73c671717c50a0e27699ac3ff690c2a6 (diff)
Improve vCPE test automation
Signed-off-by: Yang Xu <yang.xu@futurewei.com> Issue-ID: INT-847 Change-Id: Ib5b0a547f1c228de4cee02f3526401028c10bff0
Diffstat (limited to 'test/vcpe/healthcheck-k8s.py')
-rwxr-xr-xtest/vcpe/healthcheck-k8s.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vcpe/healthcheck-k8s.py b/test/vcpe/healthcheck-k8s.py
index 0a728a429..04c6f158e 100755
--- a/test/vcpe/healthcheck-k8s.py
+++ b/test/vcpe/healthcheck-k8s.py
@@ -28,7 +28,7 @@ print(json.dumps(json.loads(sz), indent=4))
print('\n')
print('Checking SDNC DB for vBRG MAC address')
-cmd = "kubectl -n onap exec dev-sdnc-sdnc-db-0 -c sdnc-db -- mysql -usdnctl -pgamma sdnctl -e 'select * from DHCP_MAP;'"
+cmd = "kubectl exec dev-mariadb-galera-mariadb-galera-0 -- mysql -uroot -psecretpassword sdnctl -e 'select * from DHCP_MAP'"
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, shell=True)
(output, error) = p.communicate()
print(output)