Skip to content

Commit 50da578

Browse files
authored
test: reduce vr traceroute hops (apache#4913)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
1 parent f00b5fc commit 50da578

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

test/integration/smoke/test_diagnostics.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -429,11 +429,11 @@ def test_09_arping_in_cpvm(self):
429429
@attr(tags=["advanced", "advancedns", "ssh", "smoke"], required_hardware="true")
430430
def test_10_traceroute_in_vr(self):
431431
'''
432-
Test Arping command execution in VR
432+
Test traceroute command execution in VR
433433
'''
434434

435435
# Validate the following:
436-
# 1. Arping command is executed remotely on VR
436+
# 1. Traceroute command is executed remotely on VR
437437

438438
list_router_response = list_routers(
439439
self.apiclient,
@@ -452,13 +452,13 @@ def test_10_traceroute_in_vr(self):
452452
cmd.targetid = router.id
453453
cmd.ipaddress = '8.8.4.4'
454454
cmd.type = 'traceroute'
455-
cmd.params = "-m 10"
455+
cmd.params = "-m 5"
456456
cmd_response = self.apiclient.runDiagnostics(cmd)
457457

458458
self.assertEqual(
459459
'0',
460460
cmd_response.exitcode,
461-
'Failed to run remote Arping in VR')
461+
'Failed to run remote Traceroute in VR')
462462

463463
@attr(tags=["advanced", "advancedns", "ssh", "smoke"], required_hardware="true")
464464
def test_11_traceroute_in_ssvm(self):
@@ -488,7 +488,7 @@ def test_11_traceroute_in_ssvm(self):
488488
cmd.targetid = ssvm.id
489489
cmd.ipaddress = '8.8.4.4'
490490
cmd.type = 'traceroute'
491-
cmd.params = '-m 10'
491+
cmd.params = '-m 5'
492492
cmd_response = self.apiclient.runDiagnostics(cmd)
493493

494494
self.assertEqual(
@@ -525,7 +525,7 @@ def test_12_traceroute_in_cpvm(self):
525525
cmd.targetid = cpvm.id
526526
cmd.ipaddress = '8.8.4.4'
527527
cmd.type = 'traceroute'
528-
cmd.params = '-m 10'
528+
cmd.params = '-m 5'
529529
cmd_response = self.apiclient.runDiagnostics(cmd)
530530

531531
self.assertEqual(

0 commit comments

Comments
 (0)