Open Kishan-Ved opened 11 months ago
It got killed during benchmarking tests. I remember we added an option where you can turn off benchmarking tests if they are too heavy to run on your system. What's your system configuration?
Sorry I might have missed the notification of this message. I'm using a Lenovo Ideapad Slim 3 having a 10th Gen core i5, with a 1TB HDD and 256GB SSD. For my OS, I use Ubuntu 22.04.3 LTS (though I have it dual booted with Windows 11).
Side note:
I found that using all available cores can prevent this problem, achieved by running:
python3 -m pytest --doctest-modules --cov=./ --cov-report=html -n auto
Should I create a PR for this? I'll add:
python3 -m pytest --doctest-modules --cov=./ --cov-report=html -n auto
Description of the problem
On running the mentioned command for testing:
python3 -m pytest --doctest-modules --cov=./ --cov-report=html
The process gets killed as shown:I found that using all available cores can prevent this problem, achieved by running:
python3 -m pytest --doctest-modules --cov=./ --cov-report=html -n auto
This did end up better, it's not properly terminated, but this might also be a code issue. Here's the output:
End Note:
Should I make a PR to modify the README command to allow multiple cores to run? I'll also include how -n command is achieved (by installing pytest-xdist).