git-annex-testgit-annexhttp://git-annex.branchable.com/git-annex-test/git-annexikiwiki2019-01-21T15:42:51Zcomment 1http://git-annex.branchable.com/git-annex-test/comment_1_5fbd7f75fef7a9f504baab1fae05d72c/Ilya_Shlyakhter2019-01-21T15:42:51Z2018-09-25T16:11:40Z
Do the tests test multi-threaded operations (-JN)? Is here a way to specify the number of processors to use for testing?
comment 2http://git-annex.branchable.com/git-annex-test/comment_2_752ca0ba483203cc4f5ccf36752e656d/joey2019-01-21T15:42:51Z2018-09-25T16:57:13Z
<p>Multithreaded operation is not tested, and since most threading related
bugs are timing dependant, it's doubtful that the test suite would be able
to usefully test them.</p>
comment 3http://git-annex.branchable.com/git-annex-test/comment_3_cac436ddf4dec95006d1ebb4171a3289/Ilya_Shlyakhter2019-01-21T15:42:51Z2018-09-25T18:22:16Z
"since most threading related bugs are timing dependant, it's doubtful that the test suite would be able to usefully test them" -- if you repeat a test enough times it'll tell you <em>whether</em> that test might fail under multithreading. Then git bisect can narrow down the breaking change. But it'd be reassuring to be able to run the tests with multithreading on my particular environment (the way I use git-annex) and know they pass.