Add VSR annotation to APF multi-device tests
Annotate APFv4 and APFv6 multi-device tests with `@VsrTest`.
This marks these tests for compliance with specific VSR requirements,
Flag: EXEMPT test only
Test: atest CtsConnectivityMultiDevicesTestCases:ApfV4Test
Test: atest CtsConnectivityMultiDevicesTestCases:ApfV6Test
Test: ./cts-tradefed run cts \
-m CtsConnectivityMultiDevicesTestCases \
-t ApfV4Test --shard-count 2
Test: ./cts-tradefed run cts \
-m CtsConnectivityMultiDevicesTestCases \
-t ApfV6Test --shard-count 2
Change-Id: I864aa65f6f4d584c4f8077f98aac0b0da8e501c8
This commit is contained in:
parent
2493cf4eb6
commit
752ea074e9
3 changed files with 16 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ python_test_host {
|
|||
"mobly",
|
||||
"scapy",
|
||||
"net-tests-utils-host-python-common",
|
||||
"platform-test-py-annotations",
|
||||
],
|
||||
test_suites: [
|
||||
"cts",
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue