inmanta / nfv-test-api

API for testing network functions using network namespaces (archived)
https://code.inmanta.com/solutions/tools/nfv-test-api
3 stars 0 forks source link

ping failure causes server error instead of returning parsed ping results #14

Closed sanderr closed 3 years ago

sanderr commented 3 years ago

The ping command returns with exit code 1 if all packets are lost. This causes the call to subprocess.check_output to raise an exception. A 500 is responded to the client.

sanderr commented 3 years ago

Misinterpreted server logs. This works as expected.