tests: add sleep after flow timeouts
For normal flow-mods we can use the barrier message to find out when the change
has made it to the datapath. This isn't the case with timeouts, because the
update isn't associated with any controller connection. When tests are run in
short succession the timed out flow may still exist in the datapath when the
next test starts.
diff --git a/tests/flow_expire.py b/tests/flow_expire.py
index 0467e4b..ccbad20 100644
--- a/tests/flow_expire.py
+++ b/tests/flow_expire.py
@@ -83,3 +83,4 @@
self.assertEqual(match, response.match,
'Flow table entry does not match')
+ sleep(1)