tests: Relax the requirement of bfd tests on timing.
authorAlex Wang <alexw@nicira.com>
Wed, 16 Oct 2013 03:32:29 +0000 (03:32 +0000)
committerEthan Jackson <ethan@nicira.com>
Thu, 17 Oct 2013 01:08:05 +0000 (18:08 -0700)
commit3688ce7a6ffb80b0f6c489d859bd43ae7503c219
tree1a3febf57399c0f2650694b77c649f0ff1dcfac1
parent8e04c6e10c28e42c715eb9fef749554c123bddbc
tests: Relax the requirement of bfd tests on timing.

Before this commit, the bfd related tests check the change of
states with very strict timing requirement.  This makes the tests
fragile, especially when ofproto-dpif-monitor module is moved to
its own thread.

Thusly, this commit relaxes the requirement on timing, making the
tests more reliable.

Signed-off-by: Alex Wang <alexw@nicira.com>
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
tests/bfd.at