git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ovsdb-idl: Update IDL data when "set" functions are called.
[sliver-openvswitch.git]
/
tests
/
test-ovsdb.c
diff --git
a/tests/test-ovsdb.c
b/tests/test-ovsdb.c
index
4949e39
..
1f697b4
100644
(file)
--- a/
tests/test-ovsdb.c
+++ b/
tests/test-ovsdb.c
@@
-1476,13
+1476,8
@@
idl_set(struct ovsdb_idl *idl, char *commands, int step)
}
}
-
for (;;
) {
+
while ((status = ovsdb_idl_txn_commit(txn)) == TXN_INCOMPLETE
) {
ovsdb_idl_run(idl);
- status = ovsdb_idl_txn_commit(txn);
- if (status != TXN_INCOMPLETE) {
- break;
- }
-
ovsdb_idl_wait(idl);
poll_block();
}