summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_protocols_static.py
AgeCommit message (Collapse)Author
2021-07-25smoketest: add shim for every test to re-use common tastsChristian Poessinger
Currently every smoketest does the setup and destruction of the configsession on its own durin setUp(). This creates a lot of overhead and one configsession should be re-used during execution of every smoketest script. In addiion a test that failed will leaf the system in an unconsistent state. For this reason before the test is executed we will save the running config to /tmp and the will re-load the config after the test has passed, always ensuring a clean environment for the next test. (cherry picked from commit 0f3def974fbaa4a26e6ad590ee37dd965bc2358f)
2021-01-31smoketest: routes: add initial tests for static routesChristian Poessinger
(cherry picked from commit 8076176ec68915b1148829f63ad3da25441f27e7)