qca / boardfarm

Main repo moved to:
https://github.com/mattsm/boardfarm/
BSD 3-Clause Clear License
71 stars 54 forks source link

timeout in the nmap tests #75

Closed yi-liang closed 8 years ago

yi-liang commented 8 years ago

it seems the timeout for nmap scan report was hard code to 660 /tests/nmap.py lan.expect('Nmap scan report', timeout=660) When we ran the test, this timeout was not enough, so increased it to about 800 then the test can pass

Is there any particular reason to choose 660 as timeout? would it better to make it configurable? Thanks

mbanders commented 8 years ago

If you like, you can submit a code change with the timeout increased to 800 or whatever.

It's really hard to predict how long nmap will take because it depends on a variety of factors. It can change drastically if you change the number of ports scanned or the methods nmap uses.