| Age | Commit message (Collapse) | Author |
|
tests: [topojson] Update assert/error messages for ospf scripts
|
|
Few assert/error messages are updated for test
scripts for better debugging.
Signed-off-by: nguggarigoud <nguggarigoud@vmware.com>
|
|
Done with a combination of regex'ing and banging my head against a wall.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
|
|
Earlier daemon parameter was passed to
start_topology(), which is not needed now,
as new code is implemented to start
feature specific daemons.
Signed-off-by: Kuldeep Kashyap <kashyapk@vmware.com>
|
|
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Signed-off-by: Christian Hopps <chopps@labn.net>
|
|
Signed-off-by: Christian Hopps <chopps@labn.net>
|
|
Signed-off-by: Christian Hopps <chopps@labn.net>
|
|
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
This python fixture was way too complex for what is needed.
Eliminate gratuitous options/over-engineering:
- Change from non-deterministic `wait` and `attempts` to a single
`retry_timeout` value. This is both more deterministic, as well as
what the user should actually be thinking about.
- Use a fixed 2 second pause between executing the wrapped function
rather than a bunch of arbitrary choices of 2, 3 and 4 seconds
spread all over the test code.
- Get rid of the multiple variables for determining what "Positive" and
"Negative" results are. Instead just implement what all the user code
already wants, i.e., boolean False or a str (errormsg) means
"Negative" result otherwise it's a "Positive" result.
- As part of the above the inversion logic is much more comprehensible
in the fixture code (and more correct to boot).
Signed-off-by: Christian Hopps <chopps@labn.net>
|
|
Just another round of fixups found by running black on the code
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
1. Improved error meesage logging.
2. No functionality changes only put some meaningfull error messages.
Signed-off-by: Kuldeep Kashyap <kashyapk@vmware.com>
|
|
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
|
|
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
|
|
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
|
|
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
|
|
We are now using black.
Signed-off-by: Quentin Young <qlyoung@nvidia.com>
|
|
start ospfd only when ospf config is used.
Signed-off-by: nguggarigoud <nguggarigoud@vmware.com>
|
|
1. Removed static sleeps.
Signed-off-by: naveen <nguggarigoud@vmware.com>
|
|
1. Adding 18 ospf testcases to topojson.
2. Adding ospf.py library.
Test suite execution time is ~18 minutes.
Signed-off-by: naveen <nguggarigoud@vmware.com>
|