HomeFreeBSD

lib/libc/tests/rpc: Correctly set timeout

Description

lib/libc/tests/rpc: Correctly set timeout

The rpc_control() API does not accept the CLCR_SET_RPCB_TIMEOUT command,
it only accepts RPC_SVC_CONNMAXREC_GET/RPC_SVC_CONNMAXREC_SET, so it was
not doing anything.
Instead of incorrectly calling this API, use clnt_create_timed() instead.

I noticed this because the test was timing out after 120s in the CheriBSD CI.

Reviewed By: ngie
Differential Revision: https://reviews.freebsd.org/D28478

Details

Provenance
arichardsonAuthored on Feb 13 2021, 1:52 PM
Reviewer
ngie
Differential Revision
D28478: lib/libc/tests/rpc: Correctly set timeout
Parents
rG0ff101494489: Update Subversion to 1.14.1 LTS. See contrib/subversion/CHANGES for a
Branches
Unknown
Tags
Unknown