This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: check server status in test-tls-psk-client
Add assertions to sequential/test-tls-psk-client to check if the spawned OpenSSL server has exited in any way except for the expected termination by the cleanUp() function. The added assertions will prevent the test from spinning forever trying to connect to the non-existent server in the case that the spawned process has exited. Include stderr and stdout in the assertion failure message to aid debugging. PR-URL: #44824 Refs: #44821 Reviewed-By: Luigi Pinca <firstname.lastname@example.org> Reviewed-By: Rich Trott <email@example.com> Reviewed-By: James M Snell <firstname.lastname@example.org>
- Loading branch information
Showing 1 changed file with 12 additions and 1 deletion.