]> git.puffer.fish Git - mirror/frr.git/commit
tests: Increase timeout for loaded systems 9196/head
authorDonald Sharp <sharpd@nvidia.com>
Tue, 27 Jul 2021 13:38:14 +0000 (09:38 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 27 Jul 2021 13:38:14 +0000 (09:38 -0400)
commitba0026272cee5a863060fa978bcbcdc57fe6b21e
treeb7c7eed9788e48c3f7017494348150abf3c8a0df
parent36d3fcccb4b4427acbe0cafe6dbcdec6b7b2a569
tests: Increase timeout for loaded systems

When running this test on a locally loaded system I am seeing the
static route as `queued` still after 1 second.  Let's just blanket
increase the timeout to something longer to give a very loaded system
more time to install the route.

Output on my test system when it was loaded:

INFO     topolog.r1:topogen.py:880 vtysh result:
{
  "4.5.1.0/24":[
    {
      "prefix":"4.5.1.0/24",
      "prefixLen":24,
      "protocol":"static",
      "vrfId":0,
      "vrfName":"default",
      "selected":true,
      "destSelected":true,
      "distance":1,
      "metric":0,
      "queued":true,
      "table":254,
      "internalStatus":8,
      "internalFlags":73,
      "internalNextHopNum":1,
      "internalNextHopActiveNum":1,
      "uptime":"00:00:00",
      "nexthops":[
        {
          "flags":1,
          "ip":"192.168.216.3",
          "afi":"ipv4",
          "interfaceIndex":11,
          "interfaceName":"r1-eth6",
          "active":true,
          "weight":1
        }
      ]
    },

I suspect 10 seconds should be enough( I would hope ).

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
tests/topotests/zebra_rib/test_zebra_rib.py