tests: Make some tests more robust.
authorJarno Rajahalme <jrajahalme@nicira.com>
Mon, 30 Dec 2013 23:42:36 +0000 (15:42 -0800)
committerJarno Rajahalme <jrajahalme@nicira.com>
Mon, 30 Dec 2013 23:42:36 +0000 (15:42 -0800)
commit125bf01da3c0fba506c606ba87a2e8a8fb12d9eb
treee0e7031327041ad38c350368722231ee2f66e467
parent27e26e598926b662098e2de0d4d666ca452227fe
tests: Make some tests more robust.

These tests break if OVS internal hash function is changed.  Some of
this is due to dependency on the order in which elements are iterated
from hash maps, or the algorithm used is just dependent on the
specific hash values produced for specific inputs (groups).  These
changes make these test cases more robust, so that they will not break
so easily due to OVS internal hash function implementation changes.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
tests/bfd.at
tests/ofproto-dpif.at