summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_gshut_topo1
diff options
context:
space:
mode:
authorKuldeep Kashyap <kashyapk@vmware.com>2022-10-11 01:57:50 +0200
committerKuldeep Kashyap <kashyapk@vmware.com>2022-10-11 02:37:48 +0200
commitd63c7094e438ee8133433c22281b20e776281669 (patch)
tree24c3811eb533757e2d58762bcda2f973937d9d42 /tests/topotests/bgp_gshut_topo1
parentMerge pull request #12084 from ak503/bgp_show_lc (diff)
downloadfrr-d63c7094e438ee8133433c22281b20e776281669.tar.xz
frr-d63c7094e438ee8133433c22281b20e776281669.zip
tests: Updated assert message for better debugging
Updating topojson script's assert messages, which will help in better debugging, when test will fail. Signed-off-by: Kuldeep Kashyap <kashyapk@vmware.com>
Diffstat (limited to 'tests/topotests/bgp_gshut_topo1')
-rw-r--r--tests/topotests/bgp_gshut_topo1/test_ebgp_gshut_topo1.py2
-rw-r--r--tests/topotests/bgp_gshut_topo1/test_ibgp_gshut_topo1.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/topotests/bgp_gshut_topo1/test_ebgp_gshut_topo1.py b/tests/topotests/bgp_gshut_topo1/test_ebgp_gshut_topo1.py
index 58133c44a..684d2fcb5 100644
--- a/tests/topotests/bgp_gshut_topo1/test_ebgp_gshut_topo1.py
+++ b/tests/topotests/bgp_gshut_topo1/test_ebgp_gshut_topo1.py
@@ -92,7 +92,7 @@ def setup_module(mod):
# Required linux kernel version for this suite to run.
result = required_linux_kernel_version("4.16")
if result is not True:
- pytest.skip("Kernel requirements are not met")
+ pytest.skip("Kernel requirements are not met, kernel version should be >=4.16")
testsuite_run_time = time.asctime(time.localtime(time.time()))
logger.info("Testsuite start time: {}".format(testsuite_run_time))
diff --git a/tests/topotests/bgp_gshut_topo1/test_ibgp_gshut_topo1.py b/tests/topotests/bgp_gshut_topo1/test_ibgp_gshut_topo1.py
index a79ce0e3a..16572a796 100644
--- a/tests/topotests/bgp_gshut_topo1/test_ibgp_gshut_topo1.py
+++ b/tests/topotests/bgp_gshut_topo1/test_ibgp_gshut_topo1.py
@@ -87,7 +87,7 @@ def setup_module(mod):
# Required linux kernel version for this suite to run.
result = required_linux_kernel_version("4.16")
if result is not True:
- pytest.skip("Kernel requirements are not met")
+ pytest.skip("Kernel requirements are not met, kernel version should be >=4.16")
testsuite_run_time = time.asctime(time.localtime(time.time()))
logger.info("Testsuite start time: {}".format(testsuite_run_time))