flow_msg_install: dont send redundant barriers
diff --git a/src/python/oftest/testutils.py b/src/python/oftest/testutils.py
index f088532..8ee212b 100644
--- a/src/python/oftest/testutils.py
+++ b/src/python/oftest/testutils.py
@@ -577,11 +577,11 @@
logging.debug("Clear flow table")
rc = delete_all_flows(parent.controller)
parent.assertEqual(rc, 0, "Failed to delete all flows")
- parent.assertEqual(do_barrier(parent.controller), 0, "Barrier failed")
logging.debug("Insert flow")
rv = parent.controller.message_send(request)
parent.assertTrue(rv != -1, "Error installing flow mod")
+
parent.assertEqual(do_barrier(parent.controller), 0, "Barrier failed")
def flow_match_test_port_pair(parent, ing_port, egr_ports, wildcards=None,