Sleep for a couple of seconds to allow queue counters to reflect
the packet just transmitted
diff --git a/tests/pktact.py b/tests/pktact.py
index 8053ed5..eaba624 100644
--- a/tests/pktact.py
+++ b/tests/pktact.py
@@ -284,6 +284,11 @@
self.assertEqual(str(pkt), str(rcv_pkt),
'Response packet does not match send packet')
+ # FIXME: instead of sleeping, keep requesting queue stats until
+ # the expected queue counter increases or some large timeout is
+ # reached
+ time.sleep(2)
+
# Get current stats for selected egress queue again
request = message.queue_stats_request()