| Newsgroups |
gmane.comp.java.junit.user |
| Message-ID |
<[email protected]> |
Hi Kevin,
thansk for the reply, but I'm not sure I understand your suggestion. If the=
thread problem was in our runner, shouldn't it show up when running with a=
nt as well? But anyway, we're already using ThreadPoolExecutor, so we shoul=
d be fine there.
From what I can tell, it isn't the runner that is spawning Java threads, it=
seems that Eclipse does that even when we have just one worker, but not wh=
en running outside Eclipse.
BR,
Chris
--------------------------------------------
On Fri, 10/7/16, [email protected] [junit] <[email protected]> wrote:
Subject: [junit] Re: Parallel runner & Eclipse?
To: [email protected]
Date: Friday, October 7, 2016, 10:28 PM
=20
=20
=C2=A0
=20
=20
=20
=20=20=20
=20
=20
=20=20=20=20=20
=20=20=20=20=20=20=20
=20=20=20=20=20=20=20
Have you tried using ThreadPoolExecutor to create
the threads so you limit the number of threads? I suggest
making the thread pool a global, and printing a message to
stderr or a log file when the thread pool is created (in
case class loader magic makes your global variables no
longer global)
=20
=20=20=20=20=20
=20=20=20=20=20=20
=20
=20=20=20=20=20
=20=20=20=20=20
=20
=20
=20
#yiv7048399463 #yiv7048399463 --
#yiv7048399463ygrp-mkp {
border:1px solid #d8d8d8;font-family:Arial;margin:10px
0;padding:0 10px;}
=20
#yiv7048399463 #yiv7048399463ygrp-mkp hr {
border:1px solid #d8d8d8;}
=20
#yiv7048399463 #yiv7048399463ygrp-mkp #yiv7048399463hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
0;}
=20
#yiv7048399463 #yiv7048399463ygrp-mkp #yiv7048399463ads {
margin-bottom:10px;}
=20
#yiv7048399463 #yiv7048399463ygrp-mkp .yiv7048399463ad {
padding:0 0;}
=20
#yiv7048399463 #yiv7048399463ygrp-mkp .yiv7048399463ad p {
margin:0;}
=20
#yiv7048399463 #yiv7048399463ygrp-mkp .yiv7048399463ad a {
color:#0000ff;text-decoration:none;}
#yiv7048399463 #yiv7048399463ygrp-sponsor
#yiv7048399463ygrp-lc {
font-family:Arial;}
=20
#yiv7048399463 #yiv7048399463ygrp-sponsor
#yiv7048399463ygrp-lc #yiv7048399463hd {
margin:10px
0px;font-weight:700;font-size:78%;line-height:122%;}
=20
#yiv7048399463 #yiv7048399463ygrp-sponsor
#yiv7048399463ygrp-lc .yiv7048399463ad {
margin-bottom:10px;padding:0 0;}
=20
#yiv7048399463 #yiv7048399463actions {
font-family:Verdana;font-size:11px;padding:10px 0;}
=20
#yiv7048399463 #yiv7048399463activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;pad=
ding:10px;}
=20
#yiv7048399463 #yiv7048399463activity span {
font-weight:700;}
=20
#yiv7048399463 #yiv7048399463activity span:first-child {
text-transform:uppercase;}
=20
#yiv7048399463 #yiv7048399463activity span a {
color:#5085b6;text-decoration:none;}
=20
#yiv7048399463 #yiv7048399463activity span span {
color:#ff7900;}
=20
#yiv7048399463 #yiv7048399463activity span
.yiv7048399463underline {
text-decoration:underline;}
=20
#yiv7048399463 .yiv7048399463attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
0;width:400px;}
=20
#yiv7048399463 .yiv7048399463attach div a {
text-decoration:none;}
=20
#yiv7048399463 .yiv7048399463attach img {
border:none;padding-right:5px;}
=20
#yiv7048399463 .yiv7048399463attach label {
display:block;margin-bottom:5px;}
=20
#yiv7048399463 .yiv7048399463attach label a {
text-decoration:none;}
=20
#yiv7048399463 blockquote {
margin:0 0 0 4px;}
=20
#yiv7048399463 .yiv7048399463bold {
font-family:Arial;font-size:13px;font-weight:700;}
=20
#yiv7048399463 .yiv7048399463bold a {
text-decoration:none;}
=20
#yiv7048399463 dd.yiv7048399463last p a {
font-family:Verdana;font-weight:700;}
=20
#yiv7048399463 dd.yiv7048399463last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}
=20
#yiv7048399463 dd.yiv7048399463last p
span.yiv7048399463yshortcuts {
margin-right:0;}
=20
#yiv7048399463 div.yiv7048399463attach-table div div a {
text-decoration:none;}
=20
#yiv7048399463 div.yiv7048399463attach-table {
width:400px;}
=20
#yiv7048399463 div.yiv7048399463file-title a, #yiv7048399463
div.yiv7048399463file-title a:active, #yiv7048399463
div.yiv7048399463file-title a:hover, #yiv7048399463
div.yiv7048399463file-title a:visited {
text-decoration:none;}
=20
#yiv7048399463 div.yiv7048399463photo-title a,
#yiv7048399463 div.yiv7048399463photo-title a:active,
#yiv7048399463 div.yiv7048399463photo-title a:hover,
#yiv7048399463 div.yiv7048399463photo-title a:visited {
text-decoration:none;}
=20
#yiv7048399463 div#yiv7048399463ygrp-mlmsg
#yiv7048399463ygrp-msg p a span.yiv7048399463yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}
=20
#yiv7048399463 .yiv7048399463green {
color:#628c2a;}
=20
#yiv7048399463 .yiv7048399463MsoNormal {
margin:0 0 0 0;}
=20
#yiv7048399463 o {
font-size:0;}
=20
#yiv7048399463 #yiv7048399463photos div {
float:left;width:72px;}
=20
#yiv7048399463 #yiv7048399463photos div div {
border:1px solid
#666666;height:62px;overflow:hidden;width:62px;}
=20
#yiv7048399463 #yiv7048399463photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space=
:nowrap;width:64px;}
=20
#yiv7048399463 #yiv7048399463reco-category {
font-size:77%;}
=20
#yiv7048399463 #yiv7048399463reco-desc {
font-size:77%;}
=20
#yiv7048399463 .yiv7048399463replbq {
margin:4px;}
=20
#yiv7048399463 #yiv7048399463ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}
=20
#yiv7048399463 #yiv7048399463ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean,
sans-serif;}
=20
#yiv7048399463 #yiv7048399463ygrp-mlmsg table {
font-size:inherit;font:100%;}
=20
#yiv7048399463 #yiv7048399463ygrp-mlmsg select,
#yiv7048399463 input, #yiv7048399463 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}
=20
#yiv7048399463 #yiv7048399463ygrp-mlmsg pre, #yiv7048399463
code {
font:115% monospace;}
=20
#yiv7048399463 #yiv7048399463ygrp-mlmsg * {
line-height:1.22em;}
=20
#yiv7048399463 #yiv7048399463ygrp-mlmsg #yiv7048399463logo {
padding-bottom:10px;}
=20
=20
#yiv7048399463 #yiv7048399463ygrp-msg p a {
font-family:Verdana;}
=20
#yiv7048399463 #yiv7048399463ygrp-msg
p#yiv7048399463attach-count span {
color:#1E66AE;font-weight:700;}
=20
#yiv7048399463 #yiv7048399463ygrp-reco
#yiv7048399463reco-head {
color:#ff7900;font-weight:700;}
=20
#yiv7048399463 #yiv7048399463ygrp-reco {
margin-bottom:20px;padding:0px;}
=20
#yiv7048399463 #yiv7048399463ygrp-sponsor #yiv7048399463ov
li a {
font-size:130%;text-decoration:none;}
=20
#yiv7048399463 #yiv7048399463ygrp-sponsor #yiv7048399463ov
li {
font-size:77%;list-style-type:square;padding:6px 0;}
=20
#yiv7048399463 #yiv7048399463ygrp-sponsor #yiv7048399463ov
ul {
margin:0;padding:0 0 0 8px;}
=20
#yiv7048399463 #yiv7048399463ygrp-text {
font-family:Georgia;}
=20
#yiv7048399463 #yiv7048399463ygrp-text p {
margin:0 0 1em 0;}
=20
#yiv7048399463 #yiv7048399463ygrp-text tt {
font-size:120%;}
=20
#yiv7048399463 #yiv7048399463ygrp-vital ul li:last-child {
border-right:none !important;
}
#yiv7048399463=20
=20
------------------------------------
Posted by: Chris <[email protected]>
------------------------------------