Merge "Add VSR annotation to APF multi-device tests" into main

This commit is contained in:
Jimi Chen 2025-08-07 19:31:54 -07:00 • committed by Android (Google) Code Review
commit 283ff389ca
3 changed files with 16 additions and 0 deletions

View file

@ -31,6 +31,7 @@ python_test_host {
"mobly",
"scapy",
"net-tests-utils-host-python-common",
"platform-test-py-annotations",
],
test_suites: [
"cts",

View file

@ -14,6 +14,7 @@
import time
from absl.testing import parameterized
from android.platform.test.annotations import VsrTest
from mobly import asserts
from net_tests_utils.host.python import apf_test_base, apf_utils
from scapy.layers.l2 import Ether
@ -24,6 +25,7 @@ ETHER_BROADCAST_ADDR = 'FFFFFFFFFFFF'
MIN_PACKET_SIZE = 60
@VsrTest(requirements=['VSR-5.3.12-002', 'VSR-5.3.12-005'])
class ApfV4Test(apf_test_base.ApfTestBase, parameterized.TestCase):
def setup_class(self):

View file

@ -13,6 +13,7 @@
# limitations under the License.
import time
from android.platform.test.annotations import VsrTest
from mobly import asserts
from net_tests_utils.host.python import adb_utils, apf_test_base, apf_utils, assert_utils
from scapy.contrib.igmpv3 import IGMPv3, IGMPv3gr, IGMPv3mq, IGMPv3mr
@ -37,6 +38,18 @@ APFV6_VERSION = 6000
ARP_OFFLOAD_REPLY_LEN = 60
@VsrTest(
requirements=[
'VSR-5.3.12-002',
'VSR-5.3.12-005',
'VSR-5.3.12-012',
'VSR-5.3.12-013',
'VSR-5.3.12-014',
'VSR-5.3.12-015',
'VSR-5.3.12-016',
'VSR-5.3.12-017',
]
)
class ApfV6Test(apf_test_base.ApfTestBase):
def setup_class(self):