[ovs-git] [openvswitch/ovs] 2600ef: ovn.at: Skip ACL rate-limiting test on slow/overlo...
noreply at github.com
Thu Sep 6 22:40:21 UTC 2018
Author: Justin Pettit <jpettit at ovn.org>
Date: 2018-09-06 (Thu, 06 Sep 2018)
ovn.at: Skip ACL rate-limiting test on slow/overloaded systems.
In ACL rate-limiting test, we send three sets of 100 packets. One of
the sets drops packets at a rate of 10 per second, one at a rate of 5
per second, and one not at all. On my setup, it takes roughly 0.67
seconds to send those 300 packets, but we have reports of it taking over
15 seconds on others. The test was intended to allow some flexibility
in run-time, but it's very difficult to design a mechanism that can all
To prevent false test failures, this patch changes the test to check
the duration count of the meter, and if it's greater than nine seconds,
just skip the test.
Signed-off-by: Justin Pettit <jpettit at ovn.org>
Reported-by: Thomas Goirand <zigo at debian.org>
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the git