ok/jj
1
0
Fork 0
forked from mirrors/jj

tests: enable concurrent commit tests on Windows

I don't know why these used to fail. Perhaps it was just that the
GitHub's Windows machines were not powerful to run them with 100
threads doing concurrent commits. Maybe they will pass now that we
limit the number of threads to the number of CPUs. This change enables
the tests so we can see what GitHub CI thinks.
This commit is contained in:
Martin von Zweigbergk 2021-06-13 21:53:32 -07:00
parent 408b0dc1d8
commit 06cd688181

View file

@ -36,7 +36,6 @@ fn count_non_merge_operations(repo: &ReadonlyRepo) -> usize {
num_ops
}
#[cfg(unix)]
#[test_case(false ; "local store")]
#[test_case(true ; "git store")]
fn test_commit_parallel(use_git: bool) {
@ -70,7 +69,6 @@ fn test_commit_parallel(use_git: bool) {
assert_eq!(count_non_merge_operations(&repo), num_threads + 1);
}
#[cfg(unix)]
#[test_case(false ; "local store")]
#[test_case(true ; "git store")]
fn test_commit_parallel_instances(use_git: bool) {