mirror of
https://github.com/apache/thrift.git
synced 2026-10-28 16:35:10 +08:00
Client: js,ts The test task in lib/ts and lib/js starts the Node test servers asynchronously and then gave them one fixed second before headless Chrome loaded the first page. On a slow CI runner that is not always enough, and lib-ts failed with net::ERR_CONNECTION_REFUSED at http://localhost:8089/test.html. The wait task now tries to connect to each server port every 100 ms and continues once all of them accept connections. A server that is still not listening after 30 seconds fails the task with a message naming its port, instead of surfacing as a refused connection in the browser test. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>