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

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

Test `untagged` and `any` values for `vlan` in `mef_eline` #219

Closed gretelliz closed 1 year ago

gretelliz commented 1 year ago

Related to PR of mef_eline

Summary

Add test_250_run_bulk_sdntraces_any_vlan and test_255_run_bulk_sdntraces_untagged_vlan to test the untagged and any cases for vlan in mef_eline.

Local Tests

+ python3 -m pytest tests/test_e2e_10_mef_eline.py::TestE2EMefEline::test_250_run_bulk_sdntraces_any_vlan
============================= test session starts ==============================
platform linux -- Python 3.9.2, pytest-7.2.0, pluggy-1.0.0
rootdir: /tests
plugins: timeout-2.1.0, rerunfailures-10.2
collected 1 item

tests/test_e2e_10_mef_eline.py .                                         [100%]

=============================== warnings summary ===============================
test_e2e_10_mef_eline.py: 17 warnings
  /usr/lib/python3/dist-packages/mininet/node.py:1121: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    return ( StrictVersion( cls.OVSVersion ) <

test_e2e_10_mef_eline.py: 17 warnings
  /usr/lib/python3/dist-packages/mininet/node.py:1122: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    StrictVersion( '1.10' ) )

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
------------------------------- start/stop times -------------------------------
================== 1 passed, 34 warnings in 131.64s (0:02:11) ==================
+ python3 -m pytest tests/test_e2e_10_mef_eline.py::TestE2EMefEline::test_255_run_bulk_sdntraces_untagged_vlan
============================= test session starts ==============================
platform linux -- Python 3.9.2, pytest-7.2.0, pluggy-1.0.0
rootdir: /tests
plugins: timeout-2.1.0, rerunfailures-10.2
collected 1 item

tests/test_e2e_10_mef_eline.py .                                         [100%]

=============================== warnings summary ===============================
test_e2e_10_mef_eline.py: 17 warnings
  /usr/lib/python3/dist-packages/mininet/node.py:1121: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    return ( StrictVersion( cls.OVSVersion ) <

test_e2e_10_mef_eline.py: 17 warnings
  /usr/lib/python3/dist-packages/mininet/node.py:1122: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    StrictVersion( '1.10' ) )

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
------------------------------- start/stop times -------------------------------
================== 1 passed, 34 warnings in 142.28s (0:02:22) ==================

End-to-End Tests

N/A

gretelliz commented 1 year ago

As you suggested, I move the e2e test related to untagged and any values to test_e2e_40_sdntrace.py, where flow_manager is not used anymore.

gretelliz commented 1 year ago

Thank you!