Launching unit tests first time, > 23s spent "verifying launch attributes"

648 views
Skip to first unread message

Alex Black

unread,
Aug 10, 2010, 4:04:22 PM8/10/10
to Scala IDE User
Steps:
- opened eclipse
- did a project->clean (e.g. rebuilt everything)
- right click on src/test/scala, run-as -> junit test

it then sits there for about 23s, and eclipse says its "verifying
launch attributes", then it updates the status a few times and starts
the unit test a second or two later.

whats it doing for 23s? :)

Alex Black

unread,
Aug 10, 2010, 4:05:09 PM8/10/10
to Scala IDE User
On subsequent runs, it takes about 1-2s for "verifying launch
attributes"

Alex Black

unread,
Aug 11, 2010, 9:55:19 AM8/11/10
to Scala IDE User
Should I file a ticket for this?

David Bernard

unread,
Aug 11, 2010, 9:57:41 AM8/11/10
to scala-i...@googlegroups.com
tickets are good for tracking and no fully forgot => Yes

Miles Sabin

unread,
Aug 11, 2010, 9:57:12 AM8/11/10
to scala-i...@googlegroups.com
On Wed, Aug 11, 2010 at 2:55 PM, Alex Black <al...@alexblack.ca> wrote:
> Should I file a ticket for this?

If you have a small, reproducible, test case, then yes please.

Cheers,


Miles

--
Miles Sabin
tel: +44 7813 944 528
gtalk: mi...@milessabin.com
skype: milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

David Bernard

unread,
Aug 11, 2010, 9:59:59 AM8/11/10
to scala-i...@googlegroups.com
samples from m2eclipse-scala have the same issue (not as long) but opening Run As is too long.

Alex Black

unread,
Aug 11, 2010, 10:00:58 AM8/11/10
to Scala IDE User
> If you have a small, reproducible, test case, then yes please.

Ah, the inevitable question. No I don't have a small, reproducible
test case. I just have to wait 23s the first time I launch my
tests :) I'll see in the future whether or not I face the same
problem in other libraries.

Matt Russell

unread,
Aug 30, 2010, 11:28:06 AM8/30/10
to Scala IDE User
I've had similar symptoms today while working on this branch:

http://github.com/mdr/Scala-IDE/tree/semantic-highlighting-for-symbols

With JUnit test,

org.scala-ide.sdt.core/test/scala/tools/eclipse/semantichighlighting/
SymbolClassifierTest.scala

Strangely, I had worked with this for a number of hours without
difficulty, then suddenly all the test launch stuff became extremely
slow. It now takes about 50 seconds to "verify launch attributes" when
launching the test, and worse, it's every launch, not just the first.
Also, if I right click the test and select Run-As, from the pop-up
menu, it locks up X Windows entirely for 50 seconds (I'm running
Ubuntu/Gnome).

I'm not sure why the behaviour suddenly changed. I've tried creating a
fresh workspace and importing projects from a clean Git checkout, but
I can't get JUnit launches to work in a humane way any more.

-- Matt
Reply all
Reply to author
Forward
0 new messages