summaryrefslogtreecommitdiff
path: root/tests/test-ovsdb.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2009-12-09 13:29:02 -0800
committerBen Pfaff <blp@nicira.com>2009-12-09 13:29:02 -0800
commit586bb84a49efa62a56e9aed2a345e01679dcccca (patch)
tree8e638ed6beead5e28adb37c3032925a6fbfdab87 /tests/test-ovsdb.c
parentdfbe07ba611b049b0843f1629b65531b4e16160c (diff)
downloadopenvswitch-586bb84a49efa62a56e9aed2a345e01679dcccca.tar.gz
ovs-vsctl: Fix performance problem.
Diffstat (limited to 'tests/test-ovsdb.c')
-rw-r--r--tests/test-ovsdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-ovsdb.c b/tests/test-ovsdb.c
index 1f697b4fc..4f44afe86 100644
--- a/tests/test-ovsdb.c
+++ b/tests/test-ovsdb.c
@@ -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",