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

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

feature: Added a test to check that the order of the requested stored flows is descending #211

Closed gretelliz closed 1 year ago

gretelliz commented 1 year ago

Related to a PR in flow_manager

Summary

Add a test to check that /flow_manager/v2/stored_flows returns flows that are sorted in descending order by priority.

Local Tests

tests/test_e2e_20_flow_manager.py . [100%]

=============================== warnings summary =============================== test_e2e_20_flow_manager.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_20_flow_manager.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 143.86s (0:02:23) ==================

End-to-End Tests

N/A

gretelliz commented 1 year ago

Fine @viniarck . Note that I have installed three flows with cookies in the range 1 to 3. see