]> git.ipfire.org Git - thirdparty/pdns.git/commit
auth: Don't fail if `socat` exits at the end of remote backend unix tests 4041/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 24 Jun 2016 16:36:22 +0000 (18:36 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 24 Jun 2016 16:36:22 +0000 (18:36 +0200)
commit96fe017aa13454fd41c52551cd73fb4f64438429
tree167dec1cb65d7fb1e632ee58301383a656c8d23a
parentc1fabdf8e80f36683c759c68a35576123e306a44
auth: Don't fail if `socat` exits at the end of remote backend unix tests

Every time I managed to reproduce that failure we sometimes get on
travis, I have:

```
*** No errors detected
2016/06/24 17:28:00 socat[28022] E write(4, 0x6f33a0, 1): Broken pipe
ERROR: Unable to stop "UNIX socket" test service: service (28022) not running
```

And that actually might make sense because `socat` is going to exit
as soon as it gets an EOF, which will happen when the
`remotebackend_unix.test` process stops. We would then be in a race
to stop the `socat` process before it stops existing.
modules/remotebackend/testrunner.sh