It seems like on some RESTXQ/REST pipelining (restxq calling another restxq api) causes basex to hang. In this scenario a mock client was created to test the system. A test was written to automate mock client requests. A restxq path was created run tests. More specifically...
2) #1 is handled by a RESTXQ function where a REST URL is fetched:
3) #2 is handled by a unit-test that fetches a mock-client URL
4) #3 is handled by a the mock-client hitting the system
- #3 and #4 (mock-client) work great
- #2 (the unit-test) work great when running tests from command line OR when the test is a simple unit:assert(<canary/>). But basex hangs otherwise
Thanks for any insight on why the system calling back to itself may cause a system hang.