Fix typo.
Rename pktact.WildcardPriority2 to pktact.WildcardPriorityWithDelete.
diff --git a/src/python/oftest/dataplane.py b/src/python/oftest/dataplane.py
index fa86a1a..41b2602 100644
--- a/src/python/oftest/dataplane.py
+++ b/src/python/oftest/dataplane.py
@@ -361,7 +361,7 @@
# Check if requested any port and some packet pending
if not port_number:
while self.packets_pending != 0:
- port = self._oldest_packet_find(exp_pkt)
+ port = self._oldest_packet_find()
pkt, time = self.port_list[port].dequeue(use_lock=False)
self.pkt_sync.release()
oft_assert(pkt, "Poll: oldest packet not found")
diff --git a/tests/pktact.py b/tests/pktact.py
index f1e67cb..653c3c2 100644
--- a/tests/pktact.py
+++ b/tests/pktact.py
@@ -1106,7 +1106,7 @@
self.verifyFlow(of_ports[0], of_ports[3])
-class WildcardPriority2(SingleWildcardMatchPriority):
+class WildcardPriorityWithDelete(SingleWildcardMatchPriority):
"""
1. Add exact match flow, verify packet received.
2. Add wildcard flow with higher priority, verify packet received on port