Merge pull request #707 from tahoe-lafs/3303.disable-eliot-test-suite

Disable Eliot test suite
This commit is contained in:
Jean-Paul Calderone 2020-04-17 14:06:48 -04:00 committed by GitHub
commit 34e85ac515
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 7 deletions

0
newsfragments/3303.minor Normal file
View File

View File

@ -12,15 +12,14 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace setup.py \
--replace "boltons >= 19.0.1" boltons
# depends on eliot.prettyprint._main which we don't have here.
rm eliot/tests/test_prettyprint.py
# Fails intermittently.
substituteInPlace eliot/tests/test_validation.py \
--replace "def test_omitLoggerFromActionType" "def xtest_omitLoggerFromActionType" \
--replace "def test_logCallsDefaultLoggerWrite" "def xtest_logCallsDefaultLoggerWrite"
'';
# A seemingly random subset of the test suite fails intermittently. After
# Tahoe-LAFS is ported to Python 3 we can update to a newer Eliot and, if
# the test suite continues to fail, maybe it will be more likely that we can
# have upstream fix it for us.
doCheck = false;
checkInputs = [ testtools pytest hypothesis ];
propagatedBuildInputs = [ zope_interface pyrsistent boltons ];