mirror of
https://github.com/ivre/masscanned.git
synced 2025-10-02 06:38:21 +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"
|
"tcp" if scan == "S" else "udp"
|
||||||
), f"Unexpected proto {port['protocol']} for scan {scan}"
|
), f"Unexpected proto {port['protocol']} for scan {scan}"
|
||||||
assert port["service_name"] in {
|
assert port["service_name"] in {
|
||||||
"rpcbind",
|
|
||||||
"nfs",
|
"nfs",
|
||||||
|
"rpcbind",
|
||||||
|
"rstatd",
|
||||||
|
"rusersd",
|
||||||
}, f"Unexpected service_name: {port['service_name']}"
|
}, f"Unexpected service_name: {port['service_name']}"
|
||||||
assert port["service_extrainfo"] in {
|
assert port["service_extrainfo"] in {
|
||||||
"RPC #100000",
|
"RPC #100000",
|
||||||
|
"RPC #100001",
|
||||||
|
"RPC #100002",
|
||||||
"RPC #100003",
|
"RPC #100003",
|
||||||
}, f"Unexpected service_extrainfo: {port['service_extrainfo']}"
|
}, f"Unexpected service_extrainfo: {port['service_extrainfo']}"
|
||||||
assert (
|
assert (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue