@DoNotParallelize not working when used in composed annotation
See original GitHub issueWhich version of Kotest are you using 4.6.0
This is from a Kotest+Spring use-case but the issue is more general I think.
Given a composed annotation such as
@DoNotParallelize
@Tag(Slow, Spring)
@MockBeans(classes = [MyService::class])
annotation class MySpringKotest
I would expect two specs annotated with @MySpringKotest
to be run sequentially. Instead they run in parallel.
Btw, it’s important to run Spring tests that use
@MockBeans
sequentially, because otherwise the configuration of mocks inside the tests are quick to cause race conditions 😞
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
How to configure SpecFlow to work with [DoNotParallelize ...
So the annotation you need to use in .feature file is " @mstest:donotparallelize ". If you want to make a scenario not run...
Read more >Man page for pgen.1 - SUIF Compiler
Pgen reads annotations (created by previous passes) from the SUIF code that tell it where ... Do not parallelize loops with reductions over...
Read more >C H A P T E R 10 - Parallelization
This chapter presents an overview of multiprocessor parallelization and describes the capabilities of Fortran 95 on SPARC multiprocessor platforms.
Read more >Composing Finite State Transducers on GPUs - ACL Anthology
NLP do not parallelize in a straightforward way ... techniques used on previous work (such as com- ... the composed transducer has a...
Read more >Parallel Algorithms - CMU School of Computer Science
In order to solve a problem efficiently on a parallel machine, ... the parallelism in an algorithm can be exploited by using multiple...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
4.6.1 has been released.
On Mon, 7 Jun 2021 at 05:11, Niklas Lochschmidt @.***> wrote:
I’ll include this in 4.6.1 as well as 5.0
On Sat, 22 May 2021 at 16:11, Niklas Lochschmidt @.***> wrote: