tests: Make ovsdb test more robust and faster.
authorJarno Rajahalme <jarno@ovn.org>
Thu, 21 Jul 2016 13:22:18 +0000 (06:22 -0700)
committerBen Pfaff <blp@ovn.org>
Fri, 22 Jul 2016 20:13:43 +0000 (13:13 -0700)
commitf7525086194e05f88cc9d20fe941e22d2eb598bc
treef4e12e8b03346411f5d492c11cc5e9adc7803209
parentaced1c3a4b8f93a86b95eb9868cdc581a12d9be6
tests: Make ovsdb test more robust and faster.

Using sleep's is prone to runtime system dependent races, and indeed
this test started consistently failing on my dev VM after an unrelated
change to ovs-vswitchd.  Get git of the sleeps and explicitly wait for
the transaction on ovsdb1 to become visible on ovsdb2.

Also fix the name of the test.

Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Andy Zhou <azhou@ovn.org>
Tested-by: Joe Stringer <joe@ovn.org>
tests/ovsdb-server.at