Uh oh!
There was an error while loading. Please reload this page.
Run more tests in temporary directory - #17683
Conversation
✅ No release notes required |
KevinRansom
commented
Sep 10, 2024
@majocha - This looks good, is it ready for review, or will you do the Big Todo in this PR? |
majocha
commented
Sep 10, 2024
@KevinRansom if it's ok I'd rather not, because frankly I have no idea how to even approach it :) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
majocha
commented
Sep 10, 2024
SDKTests does not seem to produce any artifacts, so it can safely run in-place. |
Uh oh!
There was an error while loading. Please reload this page.
psfinaki
commented
Sep 10, 2024
Yes, I have also checked this. So theoretically migrating it to the new platform shouldn't be a problem? It uses this |
My guess is we can just modify the files to use a custom prop instead of $MSBuildThisFileDirectory and pass the correct path in code via "-property:" but it does not seem to be needed at all right now. |
psfinaki
commented
Sep 10, 2024
Yeah, that's my feeling as well. Shall we once again try to remove |
majocha
commented
Sep 10, 2024
Let's try it for completness. |
Uh oh!
There was an error while loading. Please reload this page.
Some tests cases were executing in this repo subfolders, often many tests reusing the same folders. This had disadvantages.
You can't run such tests cases concurrently and sometimes git changes get polluted with test artifacts.
The idea is to simply copy the directory required by the test, with subfolders, to temp.
On each test run a subfolder is created in
%TEMP%/FSharp.Test.Utilities/named with current date and a short uinque id:%TEMP%/FSharp.Test.Utilities/yyy-MM-dd-xxxxxxx/.Test cases executed during the test run create separate uniquely named folders inside.
This PR is extracted from the experiments in test parallelization.