summaryrefslogtreecommitdiffhomepage
path: root/test/test_go_isolation_rootfs.py
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2021-11-09 15:48:44 +0300
committerMax Romanov <max.romanov@nginx.com>2021-11-09 15:48:44 +0300
commit506ec2b8258cfe03d0d7e3b19eb79d1075a6174c (patch)
treeec619b5e7d8ce86903922593ff43e63d1a2f1264 /test/test_go_isolation_rootfs.py
parente207415a78ae67b937faf7e5bcd6e5192993180a (diff)
downloadunit-506ec2b8258cfe03d0d7e3b19eb79d1075a6174c.tar.gz
unit-506ec2b8258cfe03d0d7e3b19eb79d1075a6174c.tar.bz2
Tests: app prototype related fixes.
Diffstat (limited to 'test/test_go_isolation_rootfs.py')
-rw-r--r--test/test_go_isolation_rootfs.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_go_isolation_rootfs.py b/test/test_go_isolation_rootfs.py
index 2bded5ec..d246a48d 100644
--- a/test/test_go_isolation_rootfs.py
+++ b/test/test_go_isolation_rootfs.py
@@ -7,6 +7,10 @@ from unit.applications.lang.go import TestApplicationGo
class TestGoIsolationRootfs(TestApplicationGo):
prerequisites = {'modules': {'go': 'all'}}
+ @pytest.fixture(autouse=True)
+ def setup_method_fixture(self, request, skip_alert):
+ skip_alert(r'\[unit\] close\(\d+\) failed: Bad file descriptor')
+
def test_go_isolation_rootfs_chroot(self, is_su, temp_dir):
if not is_su:
pytest.skip('requires root')