bash_test_tools
bash_test_tools copied to clipboard
Running in CircleCI hangs indefinitely
Hi,
I've started using bash_test_tools to validate proper functioning of Docker containers exposing services (ex.: testing a container with exposed nginx via curl).
This works well locally, the problem surfaces when executing in CircleCI machine runner environment. When running bash_test_tools, the first test will be executed and then the process will stall when checking for proper termination.
Here is a sample output:
TEST NGINX RETRIEVE HTML FILE HTTP
Test setup
Running: curl http://127.0.0.1:8080/index.html
ExecTime: 0.046 seconds
Assert: 'exit status' equal to 0
The next line would normally be: Assert: process terminated normally
but it never appears.
I'm wondering if you've ever seen this problem before?
Thanks