Merge pull request #1187 from tahoe-lafs/3882-flaky-tests

Fix flaky tests on Nix

Fixes ticket:3882
This commit is contained in:
Itamar Turner-Trauring 2022-03-21 10:57:22 -04:00 committed by GitHub
commit 971f01f479
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 0 deletions

0
newsfragments/3882.minor Normal file
View File

View File

@ -73,6 +73,7 @@ let
in in
# Make a derivation that runs the unit test suite. # Make a derivation that runs the unit test suite.
pkgs.runCommand "tahoe-lafs-tests" { } '' pkgs.runCommand "tahoe-lafs-tests" { } ''
export TAHOE_LAFS_HYPOTHESIS_PROFILE=ci
${python-env}/bin/python -m twisted.trial -j $NIX_BUILD_CORES allmydata ${python-env}/bin/python -m twisted.trial -j $NIX_BUILD_CORES allmydata
# It's not cool to put the whole _trial_temp into $out because it has weird # It's not cool to put the whole _trial_temp into $out because it has weird