Closed gretelliz closed 1 year ago
@viniarck, In the last commit I implemented that solution. e2e tests passed, individually and with the entire test suite.
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 ------------------------------- ================= 11 passed, 98 warnings in 280.04s (0:04:40) ==================
Closes #225
Summary
e2e
test_070_run_sdntrace_untagged_vlan
fails when the evc it tries to create exists. To prevent this test from failing, it checks not only that the evc was created, but also whether it already exists. So, in these two cases/traces
is called.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 ------------------------------- ================= 11 passed, 98 warnings in 256.92s (0:04:16) ==================
End-to-End Tests
N/A