kytos-ng / kytos-end-to-end-tests

Kytos End-to-End Tests
0 stars 10 forks source link

[Feature] Added test suite for of_lldp link liveness #137

Closed viniarck closed 2 years ago

viniarck commented 2 years ago

Fixes #136

Added TestE2EOfLLDP test suite to cover link liveness.

This PR depends on this branch of_lldp branch

viniarck commented 2 years ago

I've just run the e2e tests locally with these changes, it's passing:

+ python3 -m pytest tests/
============================= test session starts ==============================
platform linux -- Python 3.9.2, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
rootdir: /tests
plugins: timeout-2.0.2
collected 193 items

tests/test_e2e_01_kytos_startup.py ..                                    [  1%]
tests/test_e2e_05_topology.py ..................                         [ 10%]
tests/test_e2e_10_mef_eline.py .........X.......x....x.....              [ 24%]
tests/test_e2e_11_mef_eline.py .....                                     [ 27%]
tests/test_e2e_12_mef_eline.py .....xx.                                  [ 31%]
tests/test_e2e_13_mef_eline.py .....xxXx......xxXx.XXxX.xxxx..x......... [ 52%]
...                                                                      [ 54%]
tests/test_e2e_14_mef_eline.py x                                         [ 54%]
tests/test_e2e_15_maintenance.py ........................                [ 67%]
tests/test_e2e_20_flow_manager.py ................                       [ 75%]
tests/test_e2e_21_flow_manager.py ..                                     [ 76%]
tests/test_e2e_22_flow_manager.py ...............                        [ 84%]
tests/test_e2e_23_flow_manager.py X......................                [ 96%]
tests/test_e2e_30_of_lldp.py ....                                        [ 98%]
tests/test_e2e_31_of_lldp.py ...                                         [100%]
==== 169 passed, 17 xfailed, 7 xpassed, 594 warnings in 8094.73s (2:14:54) =====
+ tail -f