Project

General

Profile

Task #3126

Story #2763: WebTester is unresponsive and seems to hang

try running JUnit tests in parallel

Added by Rob Nahf over 9 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
d1_integration
Target version:
Start date:
2012-08-10
Due date:
% Done:

100%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

The integration tests take a long time to run. JUnit supports parallel running of tests, but this may confuse the TestListener and might not work on tomcat where multiple clients may be hitting the servlet simultaneously.

It is a simple configuration, but definitely needs to be tested.

see http://weblogs.java.net/blog/johnsmart/archive/2010/07/06/running-junit-tests-parallel-maven

History

#1 Updated by Rob Nahf over 9 years ago

  • % Done changed from 0 to 10

initial tests from the command line aren't promising

with
methods
5

I got socket timeouts on the longer-running tests.

without the threadCount parameter, the parallel runner defaults to 2 threads, and in the run, the tests seemed to hang. (killed after 12 minutes, when typically takes 9 minutes run serially)

#2 Updated by Rob Nahf over 9 years ago

  • Status changed from New to In Progress

#3 Updated by Rob Nahf about 9 years ago

  • Target version changed from Sprint-2012.39-Block.5.4 to Sprint-2012.41-Block.6.1

#4 Updated by Rob Nahf about 9 years ago

  • Target version deleted (Sprint-2012.41-Block.6.1)

#5 Updated by Rob Nahf about 7 years ago

  • Target version set to Maintenance Backlog

#6 Updated by Dave Vieglais almost 4 years ago

  • % Done changed from 30 to 100
  • Status changed from In Progress to Closed

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)