I’m very confused looking at this foundationdb/fdbcli_tests.py at e2fa51103696d9f40cd554c82d894c694cef4ade · apple/foundationdb · GitHub
On line 211 it seems to be trying to get the pid of the
fdbserver, but then it on line 215 it tries to match the pid against the port.
How the heck is that ever suppose to work? From what I can tell this test isn’t setting a port and its being randomly generated here foundationdb/local_cluster.py at e2fa51103696d9f40cd554c82d894c694cef4ade · apple/foundationdb · GitHub
Is it expected that there is some magic that forces
fdbserver use a specific pid during the test?
If that is indeed the case, it doesn’t seem to be working on macos 11.6 x86 as these test are failing when i run
ctest --output-on-failure -v:
The following tests FAILED: 10 - single_process_fdbcli_tests (Failed) 12 - single_process_external_client_fdbcli_tests (Failed)
I dumped the pid and port from the test and they do not match.
What am I missing here? Are the tests not functional on macos?