diff options
author | Lou Berger <lberger@labn.net> | 2018-08-09 17:21:23 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-11-28 02:22:14 +0100 |
commit | a945bf0777f66ac1f60880c747e8152bce079351 (patch) | |
tree | d685afc25e48ddd4179620683cf3561b5936489e /tests/topotests | |
parent | lib: speedup test exit when startup fails (diff) | |
download | frr-a945bf0777f66ac1f60880c747e8152bce079351.tar.xz frr-a945bf0777f66ac1f60880c747e8152bce079351.zip |
bgp_l3vpn_to_bgp_vrf: ignore output of sysctl, reenables test!
Signed-off-by: Lou Berger <lberger@labn.net>
Diffstat (limited to 'tests/topotests')
-rw-r--r-- | tests/topotests/bgp_l3vpn_to_bgp_vrf/customize.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/topotests/bgp_l3vpn_to_bgp_vrf/customize.py b/tests/topotests/bgp_l3vpn_to_bgp_vrf/customize.py index 533be71d5..596701cee 100644 --- a/tests/topotests/bgp_l3vpn_to_bgp_vrf/customize.py +++ b/tests/topotests/bgp_l3vpn_to_bgp_vrf/customize.py @@ -196,9 +196,9 @@ def ltemplatePreRouterStartHook(): for intf in intfs: cc.doCmd(tgen, rtr, 'echo 1 > /proc/sys/net/mpls/conf/{}/input'.format(intf)) logger.info('setup {0} vrf {0}-cust2, {0}-eth5. enabled mpls input.'.format(rtr)) - if cc.getOutput(): + if cc.getOutput() != 3: InitSuccess = False - logger.info('VRF config failed ({}), tests will be skipped'.format(cc.getOutput())) + logger.info('Unexpected output seen ({} times, tests will be skipped'.format(cc.getOutput())) else: InitSuccess = True logger.info('VRF config successful!') |