Skip to content

Commit

Permalink
tests: enable failure and fix one testcase
Browse files Browse the repository at this point in the history
This test was not actually failing when the results didn't match. Fail
now. Also fix the tests that are now found to be failing incorrectly
(wrong expected result).

Signed-off-by: Christian Hopps <[email protected]>
  • Loading branch information
choppsv1 committed Dec 23, 2024
1 parent a1fb051 commit 1830aa9
Show file tree
Hide file tree
Showing 20 changed files with 594 additions and 166 deletions.
49 changes: 33 additions & 16 deletions tests/topotests/mgmt_oper/oper-results/result-lib-vrf-default.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"interface": "r1-eth0",
"active": [null],
"fib": [null],
"weight":1
"weight": 1
}
]
}
Expand Down Expand Up @@ -68,7 +68,7 @@
"interface": "r1-eth0",
"active": [null],
"fib": [null],
"weight":1
"weight": 1
}
]
}
Expand Down Expand Up @@ -97,7 +97,7 @@
"interface": "r1-eth1",
"active": [null],
"fib": [null],
"weight":1
"weight": 1
}
]
}
Expand Down Expand Up @@ -126,7 +126,7 @@
"interface": "r1-eth1",
"active": [null],
"fib": [null],
"weight":1
"weight": 1
}
]
}
Expand Down Expand Up @@ -238,7 +238,9 @@
"distance": 0,
"metric": 0,
"selected": [null],
"installed": [null],
"internal-flags": 8,
"internal-status": 16,
"uptime": "rubout",
"nexthop-group": {
"id": "rubout",
Expand All @@ -250,7 +252,7 @@
"interface": "r1-eth0",
"active": [null],
"fib": [null],
"weight":1
"weight": 1
}
]
}
Expand All @@ -265,7 +267,9 @@
"distance": 0,
"metric": 0,
"selected": [null],
"installed": [null],
"internal-flags": 8,
"internal-status": 16,
"uptime": "rubout",
"nexthop-group": {
"id": "rubout",
Expand All @@ -277,7 +281,7 @@
"interface": "r1-eth0",
"active": [null],
"fib": [null],
"weight":1
"weight": 1
}
]
}
Expand All @@ -292,7 +296,9 @@
"distance": 0,
"metric": 0,
"selected": [null],
"installed": [null],
"internal-flags": 8,
"internal-status": 16,
"uptime": "rubout",
"nexthop-group": {
"id": "rubout",
Expand All @@ -304,7 +310,7 @@
"interface": "r1-eth1",
"active": [null],
"fib": [null],
"weight":1
"weight": 1
}
]
}
Expand All @@ -319,7 +325,9 @@
"distance": 0,
"metric": 0,
"selected": [null],
"installed": [null],
"internal-flags": 8,
"internal-status": 16,
"uptime": "rubout",
"nexthop-group": {
"id": "rubout",
Expand All @@ -331,7 +339,7 @@
"interface": "r1-eth1",
"active": [null],
"fib": [null],
"weight":1
"weight": 1
}
]
}
Expand Down Expand Up @@ -369,7 +377,7 @@
"interface": "r1-eth0",
"active": [null],
"fib": [null],
"weight":1
"weight": 1
}
]
}
Expand Down Expand Up @@ -398,7 +406,7 @@
"interface": "r1-eth0",
"active": [null],
"fib": [null],
"weight":1
"weight": 1
}
]
}
Expand Down Expand Up @@ -427,7 +435,7 @@
"interface": "r1-eth1",
"active": [null],
"fib": [null],
"weight":1
"weight": 1
}
]
}
Expand Down Expand Up @@ -456,7 +464,7 @@
"interface": "r1-eth1",
"active": [null],
"fib": [null],
"weight":1
"weight": 1
}
]
}
Expand All @@ -480,7 +488,9 @@
"distance": 0,
"metric": 0,
"selected": [null],
"installed": [null],
"internal-flags": 8,
"internal-status": 16,
"uptime": "rubout",
"nexthop-group": {
"id": "rubout",
Expand All @@ -492,7 +502,7 @@
"interface": "r1-eth0",
"active": [null],
"fib": [null],
"weight":1
"weight": 1
}
]
}
Expand All @@ -507,7 +517,9 @@
"distance": 0,
"metric": 0,
"selected": [null],
"installed": [null],
"internal-flags": 8,
"internal-status": 16,
"uptime": "rubout",
"nexthop-group": {
"id": "rubout",
Expand All @@ -519,7 +531,7 @@
"interface": "r1-eth0",
"active": [null],
"fib": [null],
"weight":1
"weight": 1
}
]
}
Expand All @@ -534,7 +546,9 @@
"distance": 0,
"metric": 0,
"selected": [null],
"installed": [null],
"internal-flags": 8,
"internal-status": 16,
"uptime": "rubout",
"nexthop-group": {
"id": "rubout",
Expand All @@ -546,7 +560,7 @@
"interface": "r1-eth1",
"active": [null],
"fib": [null],
"weight":1
"weight": 1
}
]
}
Expand All @@ -561,7 +575,9 @@
"distance": 0,
"metric": 0,
"selected": [null],
"installed": [null],
"internal-flags": 8,
"internal-status": 16,
"uptime": "rubout",
"nexthop-group": {
"id": "rubout",
Expand All @@ -573,7 +589,7 @@
"interface": "r1-eth1",
"active": [null],
"fib": [null],
"weight":1
"weight": 1
}
]
}
Expand All @@ -589,3 +605,4 @@
]
}
}

Loading

0 comments on commit 1830aa9

Please sign in to comment.