File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,10 @@ for PYTHON in ${PYTHON_VERSIONS}; do
8080 echo " === (${PYTHON} ) Testing manylinux1 wheel ==="
8181 source /venv-test-${PYTHON} /bin/activate
8282 pip install repaired_wheels/* .whl
83- py.test --parquet /venv-test-${PYTHON} /lib/* /site-packages/pyarrow
83+
84+ # ARROW-1264; for some reason the test case added causes a segfault inside
85+ # the Docker container when writing and error message to stderr
86+ py.test --parquet /venv-test-${PYTHON} /lib/* /site-packages/pyarrow -v -s --disable-plasma
8487 deactivate
8588
8689 mv repaired_wheels/* .whl /io/dist
Original file line number Diff line number Diff line change @@ -51,6 +51,11 @@ def pytest_addoption(parser):
5151 default = defaults [group ],
5252 help = ('Enable the {0} test group' .format (group )))
5353
54+ for group in groups :
55+ parser .addoption ('--disable-{0}' .format (group ), action = 'store_true' ,
56+ default = False ,
57+ help = ('Disable the {0} test group' .format (group )))
58+
5459 for group in groups :
5560 parser .addoption ('--only-{0}' .format (group ), action = 'store_true' ,
5661 default = False ,
@@ -62,12 +67,14 @@ def pytest_runtest_setup(item):
6267
6368 for group in groups :
6469 only_flag = '--only-{0}' .format (group )
70+ disable_flag = '--disable-{0}' .format (group )
6571 flag = '--{0}' .format (group )
6672
6773 if item .config .getoption (only_flag ):
6874 only_set = True
6975 elif getattr (item .obj , group , None ):
70- if not item .config .getoption (flag ):
76+ if (item .config .getoption (disable_flag ) or
77+ not item .config .getoption (flag )):
7178 skip ('{0} NOT enabled' .format (flag ))
7279
7380 if only_set :
You can’t perform that action at this time.
0 commit comments