quipucords / camayoc

Test automation framework that facilitates functional testing of quipucords.
https://camayoc.readthedocs.io/
GNU General Public License v3.0
5 stars 4 forks source link

Run test_scanjob_cancel on network sources only #479

Closed mirekdlugosz closed 8 months ago

mirekdlugosz commented 8 months ago

See 9894ffd52517bf0c22a0b8442f6a1651b25ad8d5 and 47129b013f3b0fc48fc3a40d523da6d80c5c121c for previous attempts at stabilizing the test. Currently only network sources take long enough for us to reliably cancel them before they finish.

$ pytest -s -v camayoc/tests/qpc/cli/test_scanjobs.py::test_scanjob_cancel
camayoc/tests/qpc/cli/test_scanjobs.py::test_scanjob_cancel PASSED

============================================================================= 1 passed in 8.74s ==============================================================================
codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (b747590) 77.07% compared to head (14ab701) 77.07%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #479 +/- ## ======================================= Coverage 77.07% 77.07% ======================================= Files 4 4 Lines 205 205 ======================================= Hits 158 158 Misses 47 47 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.