tests/ofproto-dpif.at: Workaround a race
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>
Fri, 20 Dec 2013 10:31:04 +0000 (19:31 +0900)
committerBen Pfaff <blp@nicira.com>
Fri, 20 Dec 2013 15:56:47 +0000 (07:56 -0800)
commitbf06c4fe3977f98cad16cecc891d50f826fcd5e3
tree005b7b6f37db97dab4183e5612b27bcc06426c8e
parentf8b92eb858962b75ae17519489b4cd9f29a60203
tests/ofproto-dpif.at: Workaround a race

This test seems to assume only the first packets in flows
counted as 'miss'.  I don't see any code ensuring that.
The test would fail if the upcall handler for the flow doesn't
run fast enough.  Workaround the problem by giving 1 second
for the miss upcall.

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: Ben Pfaff <blp@nicira.com>
tests/ofproto-dpif.at