From 06cd688181a300f67a630484af4e12ba75561e23 Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Sun, 13 Jun 2021 21:53:32 -0700 Subject: [PATCH] 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. --- lib/tests/test_commit_concurrent.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/tests/test_commit_concurrent.rs b/lib/tests/test_commit_concurrent.rs index 12b1188d8..aae5c2418 100644 --- a/lib/tests/test_commit_concurrent.rs +++ b/lib/tests/test_commit_concurrent.rs @@ -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) {