JUnit terminates child threads
Posted
by Marco
on Stack Overflow
See other posts from Stack Overflow
or by Marco
Published on 2010-05-14T19:10:31Z
Indexed on
2010/05/14
19:14 UTC
Read the original article
Hit count: 248
Hi to all,
When i test the execution of a method that creates a child thread, the JUnit test ends before the child thread and kills it.
How do i force JUnit to wait for the child thread to complete its execution?
Thanks
© Stack Overflow or respective owner