1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 20:25:28 +03:00
aports/testing/libcouchbase/fix_socktest.patch
Nathan Johnson c494a30d45 testing/libcouchbase: update for docker image
Added small patch to make unit tests complete under docker image.

Relaxed makedepends to remove openjdk8-jre-base, skip running expensive
couchbase mock tests (which required java in the first place).

Bumped revision number.
2016-03-08 06:42:36 +00:00

11 lines
342 B
Diff

--- libcouchbase-2.5.6/tests/socktests/t_basic.cc
+++ libcouchbase-2.5.6-2/tests/socktests/t_basic.cc
@@ -48,7 +49,7 @@
static bool isRefused(lcbio_OSERR err)
{
- if (err == ECONNREFUSED || err == ECONNABORTED) {
+ if (err == ECONNREFUSED || err == ECONNABORTED || err == EAFNOSUPPORT) {
return true;
}
#ifdef _WIN32