From 95c6046e7a158bd9abf3733599feed965f1ab0b1 Mon Sep 17 00:00:00 2001 From: Yuxiang Zhu Date: Sun, 10 Sep 2023 05:34:54 +0000 Subject: T5518: pim6: Fix smoketests --- smoketest/scripts/cli/test_protocols_pim6.py | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) (limited to 'smoketest/scripts/cli') diff --git a/smoketest/scripts/cli/test_protocols_pim6.py b/smoketest/scripts/cli/test_protocols_pim6.py index 788329740..1be12836d 100755 --- a/smoketest/scripts/cli/test_protocols_pim6.py +++ b/smoketest/scripts/cli/test_protocols_pim6.py @@ -32,21 +32,7 @@ class TestProtocolsPIMv6(VyOSUnitTestSHIM.TestCase): self.cli_delete(base_path) self.cli_commit() - def test_pim6_01_defaults(self): - # commit changes - self.cli_set(base_path) - self.cli_commit() - - interfaces = Section.interfaces('ethernet') - - # Verify FRR pim6d configuration - for interface in interfaces: - config = self.getFRRconfig( - f'interface {interface}', daemon=PROCESS_NAME) - self.assertIn(f'interface {interface}', config) - self.assertNotIn(f' ipv6 mld', config) - - def test_pim6_02_mld_simple(self): + def test_pim6_01_mld_simple(self): # commit changes interfaces = Section.interfaces('ethernet') @@ -78,7 +64,7 @@ class TestProtocolsPIMv6(VyOSUnitTestSHIM.TestCase): self.assertIn(f' ipv6 mld', config) self.assertIn(f' ipv6 mld version 1', config) - def test_pim6_03_mld_join(self): + def test_pim6_02_mld_join(self): # commit changes interfaces = Section.interfaces('ethernet') @@ -108,7 +94,7 @@ class TestProtocolsPIMv6(VyOSUnitTestSHIM.TestCase): # Join a source-specific multicast group for interface in interfaces: self.cli_set(base_path + ['interface', interface, - 'mld', 'join', 'ff38::5678', '2001:db8::5678']) + 'mld', 'join', 'ff38::5678', 'source', '2001:db8::5678']) self.cli_commit() -- cgit v1.2.3