add group decorator and smoke test group
The smoke group is intended to be very fast while covering most important
features.
diff --git a/tests/pktact.py b/tests/pktact.py
index 0b04c56..0165597 100644
--- a/tests/pktact.py
+++ b/tests/pktact.py
@@ -78,6 +78,7 @@
TEST_VID_DEFAULT = 2
+@group('smoke')
class DirectPacket(base_tests.SimpleDataPlane):
"""
Send packet to single egress port
@@ -148,6 +149,7 @@
self.assertEqual(str(pkt), str(rcv_pkt),
'Response packet does not match send packet')
+@group('smoke')
class DirectPacketController(base_tests.SimpleDataPlane):
"""
Send packet to the controller port
@@ -1136,6 +1138,7 @@
self.verifyFlow(of_ports[0], of_ports[2])
+@group("smoke")
class WildcardPriorityWithDelete(SingleWildcardMatchPriority):
"""
1. Add wildcard match flow, verify packet received.
@@ -1269,7 +1272,7 @@
flow_match_test(self, config["port_map"], wildcards=ofp.OFPFW_ALL,
dl_vlan=vid)
-
+@group('smoke')
class AddVLANTag(BaseMatchCase):
"""
Add a VLAN tag to an untagged packet
@@ -1720,6 +1723,7 @@
flow_match_test(self, config["port_map"], pkt=pkt, exp_pkt=exp_pkt,
action_list=acts, max_test=2, egr_count=-1)
+@group("smoke")
class ModifyAll(BaseMatchCase):
"""
Modify all supported fields and output to a port
@@ -1931,6 +1935,7 @@
If only VID 5 distinguishes pkt, this will fail on some platforms
"""
+@group('smoke')
class MatchEach(base_tests.SimpleDataPlane):
"""
Check that each match field is actually matched on.