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

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

Added tests for `of_multi_table` #240

Closed Alopalao closed 1 year ago

Alopalao commented 1 year ago

Closes #232

Summary

Added tests for of_multi_table.

End-to-End Tests

============================= 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, anyio-3.6.2
collected 5 items

tests/test_e2e_60_of_multi_table.py .....   
Alopalao commented 1 year ago

Commit 6d41201e5c7ecc36599b13da5e36b51d07925d66

Missing test with a non-accepted pipeline

Alopalao commented 1 year ago

Commit 7f9f3908c299b0d270c99e6db9a6c8c8e46a657d

tests/test_e2e_60_of_multi_table.py .....

viniarck commented 1 year ago

Commit 7f9f3908c299b0d270c99e6db9a6c8c8e46a657d

  • Added tests for invalid pipelines
  • Results of the tests:
============================= 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, anyio-3.6.2
collected 5 items

tests/test_e2e_60_of_multi_table.py .....   

Nicely done @Alopalao. Great test suite that we have here.

I'll approve this PR once https://github.com/amlight/kytos-docker/issues/27 is ready to land, and when this comment here is addressed.

Alopalao commented 1 year ago

Commit 187a77d4144df881bddac98aa256262e61aff6b1

Added of_multi_table to expected NApps

============================= 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, anyio-3.6.2
collected 2 items

tests/test_e2e_01_kytos_startup.py ..                                    [100%]
viniarck commented 1 year ago

All test suites are passing on GitLab too with this branch and kytos-docker's:

+ python3 -m pytest tests/ --reruns 2 -r fEr
============================= test session starts ==============================
platform linux -- Python 3.9.2, pytest-7.2.0, pluggy-1.0.0
rootdir: /builds/amlight/kytos-end-to-end-tester/kytos-end-to-end-tests
plugins: rerunfailures-10.2, timeout-2.1.0, anyio-3.6.2
collected 232 items
tests/test_e2e_01_kytos_startup.py ..                                    [  0%]
tests/test_e2e_05_topology.py ..................                         [  8%]
tests/test_e2e_10_mef_eline.py ..........ss.....x.....x................  [ 25%]
tests/test_e2e_11_mef_eline.py ......                                    [ 28%]
tests/test_e2e_12_mef_eline.py .....Xx.                                  [ 31%]
tests/test_e2e_13_mef_eline.py .....xs.s......xs.s.XXxX.xxxx..X......... [ 49%]
...                                                                      [ 50%]
tests/test_e2e_14_mef_eline.py x                                         [ 51%]
tests/test_e2e_15_mef_eline.py ..                                        [ 52%]
tests/test_e2e_20_flow_manager.py .....................                  [ 61%]
tests/test_e2e_21_flow_manager.py ...                                    [ 62%]
tests/test_e2e_22_flow_manager.py ...............                        [ 68%]
tests/test_e2e_23_flow_manager.py ..............                         [ 75%]
tests/test_e2e_30_of_lldp.py ....                                        [ 76%]
tests/test_e2e_31_of_lldp.py ...                                         [ 78%]
tests/test_e2e_32_of_lldp.py ...                                         [ 79%]
tests/test_e2e_40_sdntrace.py ...........                                [ 84%]
tests/test_e2e_41_kytos_auth.py ........                                 [ 87%]
tests/test_e2e_50_maintenance.py ........................                [ 97%]
tests/test_e2e_60_of_multi_table.py .....                                [100%]
=============================== warnings summary ===============================
viniarck commented 1 year ago

Let's ship it.