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

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

fix: update for change in the response of /traces #207

Closed gretelliz closed 1 year ago

gretelliz commented 1 year ago

This is related to PR https://github.com/kytos-ng/sdntrace_cp/pull/75.

Summary

test_030_run_sdntrace_for_stored_flows has been updated, as the response of /traces has been changed.

The response is verified to be a list with the same number of elements as the number of requests. In addition, some cases are checked in which the response must be an empty list and a case in which a complete trace must be returned.

Local Tests

tests/test_e2e_40_sdntrace.py .... [100%]

=============================== warnings summary =============================== test_e2e_40_sdntrace.py: 49 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_40_sdntrace.py: 49 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 ------------------------------- ================== 4 passed, 98 warnings in 143.75s (0:02:23) ==================

End-to-End Tests

N/A

viniarck commented 1 year ago

Also, please when opening a PR follow the template that we have, you've probably run this locally but without the information, I don't know, so that facilitates for code review.