File tree 2 files changed +3
-1
lines changed
src/main/java/org/testng/internal/thread/graph
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
Current
2
+ Fixed: GITHUB-772: Severe thread contention while running large test with parallel methods (Shaburov Oleg)
2
3
Fixed: GITHUB-1298: ITestResult injection is failing in BeforeMethod method (Krishnan Mahadevan)
3
4
Fixed: GITHUB-1293: Beanshell based execution does not work any more (Krishnan Mahadevan)
4
5
Fixed: GITHUB-1262: Testcases out of order in XML file in junitreport folder when using testng (Krishnan Mahadevan)
Original file line number Diff line number Diff line change 9
9
import java .io .File ;
10
10
import java .io .FileWriter ;
11
11
import java .io .IOException ;
12
+ import java .util .Collections ;
12
13
import java .util .List ;
13
14
import java .util .concurrent .BlockingQueue ;
14
15
import java .util .concurrent .ThreadFactory ;
@@ -26,7 +27,7 @@ public class GraphThreadPoolExecutor<T> extends ThreadPoolExecutor {
26
27
private static final boolean DOT_FILES = false ;
27
28
28
29
private DynamicGraph <T > m_graph ;
29
- private List <Runnable > m_activeRunnables = Lists .newArrayList ();
30
+ private List <Runnable > m_activeRunnables = Collections . synchronizedList ( Lists .< Runnable > newArrayList () );
30
31
private IThreadWorkerFactory <T > m_factory ;
31
32
private List <String > m_dotFiles = Lists .newArrayList ();
32
33
private int m_threadCount ;
You can’t perform that action at this time.
0 commit comments