delta: run tests with 1 thread
One of the tests (test_env_parsing_with_pager_set_to_bat) sets an environment variable, which can be flaky with multiple threads (see https://github.com/dandavison/delta/issues/1660). Work around this by running the tests with 1 thread until this is fixed upstream.
This commit is contained in:
parent
4854bac6d7
commit
9cb8feca8c
|
@ -44,6 +44,11 @@ rustPlatform.buildRustPackage rec {
|
||||||
etc/completion/completion.{bash,fish,zsh}
|
etc/completion/completion.{bash,fish,zsh}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# test_env_parsing_with_pager_set_to_bat sets environment variables,
|
||||||
|
# which can be flaky with multiple threads:
|
||||||
|
# https://github.com/dandavison/delta/issues/1660
|
||||||
|
dontUseCargoParallelTests = true;
|
||||||
|
|
||||||
checkFlags = lib.optionals stdenv.isDarwin [
|
checkFlags = lib.optionals stdenv.isDarwin [
|
||||||
"--skip=test_diff_same_non_empty_file"
|
"--skip=test_diff_same_non_empty_file"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user