xenserver: Fixes related to creating config DB in RPM spec file
[openvswitch] / tests / test-ovsdb.c
index 1f697b4fc5f41b3db7117415145e9c82535ff254..4f44afe86979436cf0ccb193e2e2e274eb3aadfb 100644 (file)
@@ -1479,6 +1479,7 @@ idl_set(struct ovsdb_idl *idl, char *commands, int step)
     while ((status = ovsdb_idl_txn_commit(txn)) == TXN_INCOMPLETE) {
         ovsdb_idl_run(idl);
         ovsdb_idl_wait(idl);
+        ovsdb_idl_txn_wait(txn);
         poll_block();
     }
     printf("%03d: commit, status=%s\n",