Closed
Description
Hi all
I had a problem while testing the threadpool-crate because all test run in parallel and all of them use the whole cpu.
Would it be possible to add a additional flag for test like this? Maybe something like this:
#[test]
#[no_parallel]
fn test_heavy_load_on_cpu_or_gpu_or_global_state() {
// working hard here ...
}
The implementation would have to queue these test and run them sequencally.
The flag no_parallel
seems very expressiv, but I prefere a positive keyword like single
, serial
or individual
or something like this.
What do you think?
Regards