[ovs-git] [openvswitch/ovs] 72bb6a: ovn.at: Skip ACL rate-limiting test on slow/overlo...

GitHub noreply at github.com
Thu Sep 6 22:44:56 UTC 2018

  Branch: refs/heads/branch-2.10
  Home:   https://github.com/openvswitch/ovs
  Commit: 72bb6af9f31f3d6a000a7f22f9a82939119f63af
  Author: Justin Pettit <jpettit at ovn.org>
  Date:   2018-09-06 (Thu, 06 Sep 2018)

  Changed paths:
    M tests/ovn.at

  Log Message:
  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 mailing list