mirror of
https://github.com/ivre/masscanned.git
synced 2025-10-01 22:28:20 +00:00
Fix randomly failing tests
This commit is contained in:
parent
61a8cebf8f
commit
089c971ae9
1 changed files with 5 additions and 1 deletions
|
@ -61,11 +61,15 @@ def test_rpc_nmap():
|
|||
"tcp" if scan == "S" else "udp"
|
||||
), f"Unexpected proto {port['protocol']} for scan {scan}"
|
||||
assert port["service_name"] in {
|
||||
"rpcbind",
|
||||
"nfs",
|
||||
"rpcbind",
|
||||
"rstatd",
|
||||
"rusersd",
|
||||
}, f"Unexpected service_name: {port['service_name']}"
|
||||
assert port["service_extrainfo"] in {
|
||||
"RPC #100000",
|
||||
"RPC #100001",
|
||||
"RPC #100002",
|
||||
"RPC #100003",
|
||||
}, f"Unexpected service_extrainfo: {port['service_extrainfo']}"
|
||||
assert (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue