-
Notifications
You must be signed in to change notification settings - Fork 785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Experiment, parallelize some tests #17662
Closed
Closed
Changes from all commits
Commits
Show all changes
237 commits
Select commit
Hold shift + click to select a range
4471183
fix compile
majocha 932d12c
threadlocal console splitter
majocha 1c945b5
Merge branch 'main' into parallelize-tests
majocha 8ff95d4
fix
majocha 003399a
just to be sure
majocha 219b1de
fix
majocha c2ec08b
fix failing
majocha 1700504
gaah
majocha 7501dc3
wip
majocha 7f9798f
wip
majocha c6ab38d
unused?
majocha 4e9e461
wip
majocha 249b1cf
Merge branch 'main' into parallelize-tests
majocha ef14588
maybe?
majocha 87ad15c
deny appdomain, tests should be isolated already?
majocha 3d32f29
give it some more time
majocha e8e8413
try to fix some more tests
majocha 67ef5f5
core mailbox > tasks
majocha 6af4cc6
try fix tests
majocha 0980059
mbox,
majocha 5566d20
inc timeout
majocha 3484eb6
fix
majocha e438909
omg
majocha 57af1fc
unique prj names
majocha 00e5a8c
skip times test for now
majocha 1d42877
break into smaller modules
majocha a7057e6
Merge branch 'main' into parallelize-tests
majocha 0508ee3
don't check for "test.ok" file existence for now
majocha 54c0d73
run suite tests in separate temp dirs, run typeprovider tests concurr…
majocha f1fe29f
merge main
majocha 0fee2b9
Merge branch 'main' into parallelize-tests
majocha e185fb2
skip sdktest for later, fix some
majocha f9119a9
Merge branch 'main' into parallelize-tests
majocha 06164d8
fix again
majocha 99b5834
Merge branch 'main' into parallelize-tests
vzarytovskii 317e63b
run tests in temp dirs
majocha 177c978
rename
majocha f528a3d
update comment
majocha 74dd7a7
Merge branch 'main' into test-temp-folders
majocha 1457693
diff
majocha 62f5a4a
use single temp dir for compile
majocha dfb9dcc
unskip sdktest, naming
majocha d5c8225
Merge branch 'main' into test-temp-folders
majocha 66f872c
refactor
majocha ee9cd17
parametrize msbuild in SDKTests
majocha 5b7ceca
Merge branch 'main' into test-temp-folders
majocha 75fffe0
nicer
majocha 128b54b
Merge branch 'main' into parallelize-tests
majocha b179542
merge test-temp-folders
majocha 46f4b9f
redirect console in FSharpScript
majocha c4f266a
does this test even do what it advertises?
majocha 933304a
Merge branch 'main' into parallelize-tests
majocha b1856d6
fix FSharpScript redirection
majocha 4fda023
reusing fsi sessions
majocha 82097c9
exclude depenencymanager
majocha fe07d6e
Merge branch 'main' into parallelize-tests
majocha 5401109
exclude more
majocha 1710554
exclude CancelDefaultToken
majocha 594c0e4
refactor ScriptHelpers
majocha c7adebd
remove xunit defaults from xunit.runner.json
majocha 5c4243c
try to further deal with OperationCancelled
majocha 6345fa8
Remove redundant "ok" files in core tests
psfinaki 93aeccb
remove this also
psfinaki 9bd9127
skip shady test
majocha f5c04f2
Merge branch 'main' into parallelize-tests
majocha a5ddb60
parametrize ML scripts
majocha 9e20af8
Merge branch 'main' into parallelize-tests
majocha bc80641
fsi pdb symbols directory per session
majocha 278155e
unblock InteractiveTests
majocha 8f6f351
fantomas
majocha 7c5d38a
try to reduce memory pressure in ci
majocha 3d8807e
fix op cancelled exn in core.unittests
majocha 3b7b9b9
Merge branch 'main' into parallelize-tests
majocha e1cef65
simplify
majocha 81cf0fc
not needed
majocha 5e7e1e8
try to deal with oom
majocha ce975d2
improve some task tests
majocha 4f6bf47
fixit
majocha 581b628
merge oknotok
majocha f02bd73
Merge branch 'main' into parallelize-tests
majocha cd6a7ef
one thread for now
majocha e5e01c9
dummy rns
majocha 976d0b1
remove AlreadyLoadedAppDomainResolver
majocha b847f01
some tests mutate FileSystem (!)
majocha 0e22b65
step up parallelism
majocha 2d90586
redirect logging to MessageSink, refactor
majocha a7143af
Merge branch 'main' into parallelize-tests
majocha 0b70050
actually, don't write to testframework sink, as it all becomes warnings
majocha 3dae769
improve flakiness situation
majocha b6423af
Merge branch 'main' into parallelize-tests
majocha 64cca70
default maxthreads
majocha 329cff1
tests again
majocha 06c57c8
Merge branch 'main' into parallelize-tests
majocha 75da7ba
iensure context init with BeforeAfter
majocha d86d315
sort out collection definitions
majocha bb407bd
try to run the whole solution
majocha 3e24367
wip
majocha 179786e
restore build.ps1
majocha 3f456b9
exclude this
majocha 2ca5cf5
do not modify stdout
majocha 5cb5c5a
runner again
majocha a4ff92c
temp disable useTransparentCompiler for global checker
majocha eaaff9d
fix build
majocha 57db5c8
this is not needed any more
majocha 7bd3aad
refactoring
majocha db0858e
clean-up
majocha 9665470
preserve original encoding
majocha b18ad46
Merge branch 'main' into fsc-stdout
majocha 12147df
Merge branch 'main' into parallelize-tests
majocha ca97cd3
Revert "remove this also"
majocha 25e0f8e
revert oknotok
majocha fd53253
use stdout instead of test.ok file, wip
majocha 6a5571c
wip
majocha 04e0054
wip
majocha 523ff71
fixfix
majocha 51b2a13
disable parallelization in ci
majocha 6b26789
ah yes
majocha c5e8d55
or is it like this?
majocha 0249595
unskip
majocha b3e2f2c
fix
majocha 18be588
clean up
majocha 3cc25cf
DirectoryAttribute temp output dir
majocha 4407cce
restore transparent compiler use
majocha 8fe73de
don't reuse checker
majocha a86abd1
exclude after all
majocha ad9ed63
missed
majocha 27d0b13
rn
majocha 00239f8
deal with OpCancelledExn in component tests
majocha a8bb384
deal with OpCancelledExn in core unittests
majocha 92e0ec3
do flush actual Console synchronized streams
majocha 492d831
MaxParallelThreads=1 in ci
majocha 693b5d7
Revert "preserve original encoding"
majocha acdea50
add a test
majocha a5437f5
wip
majocha bcffaef
fantomas
majocha 88b2a18
add fsi test
majocha f076559
put collection definitions into each assembly separately
majocha 419cd8f
concurrency issue
majocha ac7e5ac
to see if it works
majocha 4177685
wip
majocha 1a74c46
fix test
majocha 1936e63
fix skip
majocha d338a56
don't call dep manager needlessly
majocha 6cbbbf4
exclude core/controlMailbox
majocha cd0f578
FsiTests
majocha e8992ef
cleanup
majocha 7743378
try to fix depman test
majocha 430b0aa
log only in debug
majocha dea2b68
back to business
majocha fa2872c
sigh
majocha 33b4aa6
restore
majocha eba1a25
restore
majocha e459c90
deparallelize linux ci also
majocha 45fa650
xunit logger
majocha 235cc05
what's up with fparsec test?
majocha 5e98984
exempt utilities from dotnet test detection
majocha 260d56e
skip fparsec test on dektop
majocha 22d2cdd
update test result format to xunit
majocha ad79741
wip
majocha b19b919
Merge branch 'main' into parallelize-tests
majocha 9806a86
just trying things out
majocha 1ebbbc5
Merge branch 'parallelize-tests' of https://github.com/majocha/fsharp…
majocha 9851e4c
Merge branch 'main' into fsc-stdout
majocha f9a0ad0
named test runs
majocha 671ed78
capture xml logs from assemblies
majocha ce391ea
wip
majocha ae883a9
Merge branch 'main' into parallelize-tests
majocha 914086c
remove dup
majocha 1981299
Merge branch 'parallelize-tests' of https://github.com/majocha/fsharp…
majocha 02ce51a
Merge branch 'main' into fsc-stdout
majocha 358e743
Merge branch 'main' into parallelize-tests
majocha e338476
Merge branch 'main' into parallelize-tests
majocha 71c3437
Merge branch 'main' into fsc-stdout
majocha 9de5711
concurrency?
majocha 8fc65b9
Merge branch 'parallelize-tests' of https://github.com/majocha/fsharp…
majocha 5c4efe9
Merge branch 'main' into parallelize-tests
psfinaki 1ad3349
not needed
majocha 044396a
--blame-hang-timeout to see what's going on
majocha 496973f
Merge branch 'main' into parallelize-tests
majocha 7ffa352
quick experiment
majocha e3c95c9
Merge branch 'main' into parallelize-tests
majocha 9d66464
Merge branch 'main' into parallelize-tests
majocha 6695851
-v n
majocha cc1f24e
.
majocha b7808ba
simplify
majocha 70e5f12
Merge branch 'main' into parallelize-tests
majocha f22e7ef
Merge branch 'main' into fsc-stdout
T-Gro 41476a9
Merge branch 'main' into parallelize-tests
majocha bfabd4b
setup, delete temp folder
majocha 1bdcd87
fix AsyncType
majocha 7191a17
unskip times csv
majocha 4d9805e
Merge branch 'main' into fsc-stdout
majocha d9cc66e
Merge branch 'main' into parallelize-tests
majocha 00e6f8b
Merge branch 'main' into fsc-stdout
majocha 9f7bd1a
Merge branch 'main' into parallelize-tests
majocha f975162
smaller diff
majocha a5f6e02
fix
majocha b4176f4
don't leak taskCanceledException
majocha 0323d65
BUILDING_USING_DOTNET
majocha 1ec7718
deps missing yet required at runtime
majocha d36aa93
bump vstest version
majocha e9c2cd2
try to fix GC test
majocha c2f7745
dont leave unobserved background tasks, some speedups
majocha eeb5029
try fix times csv
majocha 7b95e1d
times csv, shared read
majocha fc5b9fa
disable transparent compiler for a moment again
majocha ff67a04
merge main
majocha 7119173
Merge branch 'main' into parallelize-tests
majocha 68304f5
Merge branch 'main' into parallelize-tests
majocha abf9a63
not needed
majocha d1a672c
try to improve another test
majocha 0a243ea
unskip some old tests
majocha eb25ca7
init log
majocha 9fe6f3c
add new rudimentary TryScan tests
majocha 026d1fc
disable old flaky TryScan test
majocha f50bc4c
tune runner
majocha 3d8d2ac
ease up some exclusions
majocha 20ad10f
tune script test run
majocha fd76eb2
low mem in ci
majocha 736ffc4
unload appdomain
majocha 6936121
mb
majocha c632695
cpu limit in ci
majocha 0276755
cpu limit in ci
majocha 5d2ccd6
Merge branch 'main' into fsc-stdout
majocha f961823
merge fsc-stdout
majocha e75f796
wip
majocha f77ec61
wip
majocha 0bee824
wip
majocha 76fc354
wip
majocha 346ddb7
that's a funny thing to time out
majocha 5643336
Merge branch 'main' into parallelize-tests
majocha ae81bd6
.
majocha 601bf47
Merge branch 'main' into parallelize-tests
majocha 22ee1c6
wip
majocha 635ba14
unskip depman test
majocha aa570c6
Merge branch 'main' into parallelize-tests
majocha 24b6f00
Merge branch 'main' into parallelize-tests
majocha File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"$schema": "https://xunit.net/schema/current/xunit.runner.schema.json", | ||
"appDomain": "denied", | ||
"parallelizeAssembly": true | ||
} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reason for this change? It might be a good idea in general, just asking how did you stumble on it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is out of desperation. I'm seeing OperationCancelledException in various test cases. We do a lot of RunSychronously / RunImmediate in the tests but also in FCS. I have no idea how to debug this, because it's very random, but my intuition is that Async.CancelDefaultToken() called in some test cases kills the asyncs in the same process? I have no idea if this makes sense, so this one is just experimental.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vzarytovskii you might have some knowledge here?