bash_test_tools icon indicating copy to clipboard operation
bash_test_tools copied to clipboard

Running in CircleCI hangs indefinitely

Open Flabbergabber opened this issue 5 years ago • 0 comments

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

Flabbergabber avatar Jun 05 '19 13:06 Flabbergabber