diff options
author | ngie <ngie@FreeBSD.org> | 2017-07-17 21:17:03 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-07-17 21:17:03 +0000 |
commit | d50529abcdf757cf523607b08418066feb13b0aa (patch) | |
tree | aaf90c8d5f55a8d5cca4fbe870825a4ee7904599 /tests/sys | |
parent | a13c5bbff8635140cf402c421973ab342c220b43 (diff) | |
download | FreeBSD-src-d50529abcdf757cf523607b08418066feb13b0aa.zip FreeBSD-src-d50529abcdf757cf523607b08418066feb13b0aa.tar.gz |
MFC r318180:
Mark all md tests as requiring unsafe AIO in order to function
These tests have been flapping (failing<->passing) on Jenkins for months.
It passes reliably for me if unsafe AIO is permitted, but it doesn't
pass on Jenkins reliably if unsafe AIO is disabled (the current default).
Mark the tests as requiring unsafe AIO to mitigate the intermittent
failures when unsafe AIO isn't permitted. If the kernel code is changed
to reliably function with md(4) devices using unsafe AIO, this commit can
be reverted.
PR: 217261
Diffstat (limited to 'tests/sys')
-rw-r--r-- | tests/sys/aio/aio_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/sys/aio/aio_test.c b/tests/sys/aio/aio_test.c index 90619b4..fa494bc 100644 --- a/tests/sys/aio/aio_test.c +++ b/tests/sys/aio/aio_test.c @@ -735,6 +735,7 @@ aio_md_test(completion comp) struct md_ioctl mdio; ATF_REQUIRE_KERNEL_MODULE("aio"); + ATF_REQUIRE_UNSAFE_AIO(); mdctl_fd = open("/dev/" MDCTL_NAME, O_RDWR, 0); ATF_REQUIRE_MSG(mdctl_fd != -1, |