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

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

Increasing wait time in test_085_end_running_mw_on_switch e2e_15 #142

Closed gretelliz closed 2 years ago

gretelliz commented 2 years ago

Fixes #138

The test passes by increasing the waiting time in the test from 3 to 4 seconds. So, the test failure is solved by increasing the time to give Kytos more time to redeploy the EVC.

I repeated the test 10 times and it passed every time:

================== 1 passed, 34 warnings in 139.33s (0:02:19) ==================

tests/test_e2e_15_maintenance.py . [100%]

=============================== warnings summary =============================== test_e2e_15_maintenance.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_15_maintenance.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, 34 warnings in 150.73s (0:02:30) ==================

gretelliz commented 2 years ago

@viniarck I agree, I increased the time to 5 seconds.

viniarck commented 2 years ago

@viniarck I agree, I increased the time to 5 seconds.

Cool.

Let's leave this PR for one extra day under review in case other core members also want to review, after that, it'll get merged.