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

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

feature: Test new trace types #212

Closed gretelliz closed 1 year ago

gretelliz commented 1 year ago

Related to PR 73 in sdntrace_cp

Summary

Update tests related to the changes in sdntrace_cp to add the loop and incomplete types.

Note that in all the failed traces there is now one more item with the type incomplete.

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 ------------------------------- ================== 6 passed, 98 warnings in 241.80s (0:04:01) ==================

End-to-End Tests

N/A

gretelliz commented 1 year ago

@viniarck, I did what you suggested. Also, I added a new e2e test related to PR 76 in sdntrace_cp. Basically, I check that the example in the PR has the desired behavior once the flows are sorted by priority in /traces.