X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Ftest-ovsdb.c;h=a4a5f019a76c642cd80b6468730935827a0c3a9b;hb=cf3a5d915f8d4d0d1a7774430db4f11f161fea70;hp=1f697b4fc5f41b3db7117415145e9c82535ff254;hpb=8bc915de7a08d5b4210ba768d56f15211927d1e7;p=openvswitch diff --git a/tests/test-ovsdb.c b/tests/test-ovsdb.c index 1f697b4f..a4a5f019 100644 --- a/tests/test-ovsdb.c +++ b/tests/test-ovsdb.c @@ -791,7 +791,7 @@ do_query_distinct(int argc UNUSED, char *argv[]) /* Parse column set. */ json = parse_json(argv[4]); - ovsdb_column_set_from_json(json, table, &columns); + check_ovsdb_error(ovsdb_column_set_from_json(json, table, &columns)); json_destroy(json); /* Parse rows, add to table. */ @@ -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",