test: fix threadpool_multiple_event_loops for AIX

Disabled the filesystem portion of the test as there are known issues
with AIX and its fs. This particular test was failing with a timeout.

PR-URL: https://github.com/libuv/libuv/pull/689
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
This commit is contained in:
Imran Iqbal 2016-01-19 17:33:50 -05:00 committed by Saúl Ibarra Corretgé
parent db680a1dff
commit c21a75a16c

View File

@ -123,12 +123,17 @@ static void do_work(void* arg) {
getaddrinfo_do(req);
}
/* Disable fs work on AIX as there are known issues.
* See: Readme.md AIX Notes
*/
#ifndef _AIX
for (i = 0; i < ARRAY_SIZE(fs_reqs); i++) {
struct fs_req* req = fs_reqs + i;
req->counter = 16;
req->loop = loop;
fs_do(req);
}
#endif
r = uv_run(loop, UV_RUN_DEFAULT);
ASSERT(r == 0);