tests: Avoid hash order sensitivity in "ofproto - flow monitoring" test.
authorBen Pfaff <blp@nicira.com>
Thu, 19 Jul 2012 15:42:21 +0000 (08:42 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 19 Jul 2012 15:42:21 +0000 (08:42 -0700)
commit32cd83a272ab4b00ba6c167e021ebfdddf6337ec
treef4610f219f2546f2c81e8fdfc58b602f84794673
parent74f868c624b8140739d2c4d84bdf8c2c9623a356
tests: Avoid hash order sensitivity in "ofproto - flow monitoring" test.

The order in which flows appear in an NXST_FLOW_MONITOR reply depends on
the hash order, which makes it depend on the details of the hash and on
system endianness.  This avoids sensitivity to the order by sorting the
results.

Reported-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
tests/ofproto.at