You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of, thank you guys for this amazing framework.
This is, I believe, the holy grail of testing framework for DotNet!
You get native implementation for virtually any need, not even mentioning the speed gain from code gen and the debugging goodies.
To my point, I was wondering if it's possible to allow accelerated parallel initialization.
Let's say I start with a limit of 20 parallel runs.
They all start at the same time, which in some cases creates a big load on the system as a lot of things might happen at start, regardless of the shared initialization setup like DB, broker etc...
If the startup for each parallel run has a random wait jitter this will most likely help with the load.
This wait is done once per thread, or parallel execution unit, however you frame it.
It's not a wait per test.
I have 445 tests, when I run with parallel limit 20 I get failures on the first tests
They saldom pass, and when they do, the entire suite pass.
It might be that I need to add some protections for multi-threading, though I doubt it.
With that said, that code which fail is on startup which is never executed multithreaded and not intended to, as most code is.
Hopefuly you can consider this one, if it's doable and not managed by the MS testing platform
The text was updated successfully, but these errors were encountered:
shlomiassaf
changed the title
Linear parallel acceleration on startup
Parallel acceleration on startup (constant/liner/exponential/etc...)
Mar 17, 2025
First of, thank you guys for this amazing framework.
This is, I believe, the holy grail of testing framework for DotNet!
You get native implementation for virtually any need, not even mentioning the speed gain from code gen and the debugging goodies.
To my point, I was wondering if it's possible to allow accelerated parallel initialization.
Let's say I start with a limit of 20 parallel runs.
They all start at the same time, which in some cases creates a big load on the system as a lot of things might happen at start, regardless of the shared initialization setup like DB, broker etc...
If the startup for each parallel run has a random wait jitter this will most likely help with the load.
This wait is done once per thread, or parallel execution unit, however you frame it.
It's not a wait per test.
I have 445 tests, when I run with parallel limit 20 I get failures on the first tests
They saldom pass, and when they do, the entire suite pass.
It might be that I need to add some protections for multi-threading, though I doubt it.
With that said, that code which fail is on startup which is never executed multithreaded and not intended to, as most code is.
Hopefuly you can consider this one, if it's doable and not managed by the MS testing platform
The text was updated successfully, but these errors were encountered: