SEBA-730 Fix atests for recent Helm chart changes
Change-Id: I5d8d5a66d2c81fa3a0f3893b4453a94f6fc31e89
diff --git a/tests/atests/common/auto_test.py b/tests/atests/common/auto_test.py
index 4dea0ab..be52134 100755
--- a/tests/atests/common/auto_test.py
+++ b/tests/atests/common/auto_test.py
@@ -75,7 +75,7 @@
if simtype == 'ponsim':
olt_type = 'ponsim_olt'
onu_type = 'ponsim_onu'
- olt_host_ip = 'olt.voltha.svc'
+ olt_host_ip = 'olt0.voltha.svc'
onu_count = 1
elif simtype == 'bbsim':
olt_type = 'openolt'
diff --git a/tests/atests/common/testCaseUtils.py b/tests/atests/common/testCaseUtils.py
index 1fe4f82..9b9b67d 100755
--- a/tests/atests/common/testCaseUtils.py
+++ b/tests/atests/common/testCaseUtils.py
@@ -171,4 +171,4 @@
def discover_rg_pod_name():
- return extract_pod_name('rg-').strip()
+ return extract_pod_name('rg0').strip()
diff --git a/tests/atests/common/unicast.py b/tests/atests/common/unicast.py
index 69d3d1a..1622b99 100644
--- a/tests/atests/common/unicast.py
+++ b/tests/atests/common/unicast.py
@@ -78,7 +78,7 @@
def execute_tcpdump(self):
logging.info('Execute tcpdump')
process_output = open('%s/%s' % (testCaseUtils.get_dir(self, 'log'), self.TCPDUMP_FILENAME), 'w')
- tcpdump = subprocess.Popen(['sudo', '/usr/sbin/tcpdump', '-nei', 'pon1'],
+ tcpdump = subprocess.Popen(['sudo', '/usr/sbin/tcpdump', '-nei', 'nni0'],
stdout=process_output,
stderr=process_output)
self.__tcpdumpPid = tcpdump.pid