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

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

Augmented `test_025_delete_flows` to cover `GET /v2/stored_flows` and `GET /v2/flows` #175

Closed viniarck closed 1 year ago

viniarck commented 1 year ago

Fixes #31

Local tests

I ran this test_025_delete_flows three times, all iterations succeeded:

+ for i in {1..3}
+ echo 'iteration 3'
iteration 3
+ python3 -m pytest tests/ --timeout=300 -k test_025_delete_flows
============================= test session starts ==============================
platform linux -- Python 3.9.2, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
rootdir: /tests
plugins: timeout-2.0.2
timeout: 300.0s
timeout method: signal
timeout func_only: False
collected 200 items / 199 deselected / 1 selected

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/warnings.html
------------------------------- start/stop times -------------------------------
========== 1 passed, 199 deselected, 34 warnings in 118.20s (0:01:58) ==========
+ tail -f
viniarck commented 1 year ago

Great!

Appreciated your review, Gretel.