Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 162605

Summary: Test execution should support parallel execution of tests
Product: z_Archived Reporter: Joe Toomey <jptoomey>
Component: TPTPAssignee: DuWayne Morris <dmorris>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P1 CC: jkubasta, kdsiefke, kmooney, paulslau, scott.schneider, slavescu, suttonja, toddmm
Version: unspecifiedKeywords: plan
Target Milestone: ---Flags: paulslau: review+
Hardware: PC   
OS: All   
URL: http://www.eclipse.org/tptp/groups/Architecture/documents/features/hf_162605.html
Whiteboard:
Bug Depends on:    
Bug Blocks: 165369    
Attachments:
Description Flags
patch for hyades.execution
none
patch for test.core none

Description Joe Toomey CLA 2006-10-27 13:59:57 EDT
TPTP used to support parallel execution of tests, but this capability was removed due to instability of the feature.  This should be added back and made to work properly (so multiple tests can be launched and can execute concurrently.)
Comment 1 Kent D Siefkes CLA 2006-11-21 15:42:13 EST
Changing to P1 due to need to reduce time in consuming product to start up test runs that involve many agent controllers, which are currently started up sequentially out of necessity due to this TPTP restriction, resulting in a test start up process can take tens of minutes.
Comment 2 Marius Slavescu CLA 2006-11-22 12:22:15 EST
Joe I would like to help at designing this feature, please include me in any design/implementation discussions regarding this feature.

As I mentioned in bug 165369, I see this as an important problem (for both users and ISVs) that needs to be fixed ASAP.
Comment 3 Paul Slauenwhite CLA 2006-11-23 09:13:51 EST
Updating version/target based on http://www.eclipse.org/tptp/home/documents/process/development/bugzilla.html.
Comment 4 Joe Toomey CLA 2006-12-12 14:11:45 EST
Adding initial descripion document.
Comment 5 Joe Toomey CLA 2007-01-17 17:54:45 EST
*** Bug 106852 has been marked as a duplicate of this bug. ***
Comment 6 Paul Slauenwhite CLA 2007-03-14 14:27:59 EDT
Updating target to future as requested by the PMC.  

Enhancements are targeted to future if not in plan for the current release.
Comment 7 Paul Slauenwhite CLA 2007-08-17 12:09:34 EDT
Updating sizing.
Comment 8 Paul Slauenwhite CLA 2007-10-04 11:50:06 EDT
Approved by the AG.
Comment 9 Paul Slauenwhite CLA 2007-10-21 21:17:11 EDT
(In reply to comment #8)

For TPTP 4.5.
Comment 10 Paul Slauenwhite CLA 2007-10-29 10:23:38 EDT
Reassigning to Duwayne.
Comment 11 Paul Slauenwhite CLA 2007-11-26 12:08:05 EST
Retargetting to feature freeze iteration.
Comment 12 DuWayne Morris CLA 2008-03-05 11:12:49 EST
Created attachment 91658 [details]
patch for hyades.execution

A meeting was held on Feb 29, the minutes are here;

http://wiki.eclipse.org/TPTP-Test-Tools-Design-Review-162605-02292008

As a result of that meeting, there was an action item to provide an optimized solution to avoid polling while waiting for RMI return data.  A solution has been implemented.  The code changes have been delivered into CVS and attached as a patch.

This feature is now complete except for adding needed test cases.  Per the Feb. 29 meeting, the case of parallel agent startup for the consumming product will be tested by the consumming product as-needed.  No special test harness will be provided to do this in TPTP.
Comment 13 DuWayne Morris CLA 2008-03-05 11:13:29 EST
Created attachment 91659 [details]
patch for test.core
Comment 14 Paul Slauenwhite CLA 2008-03-12 07:29:30 EDT
Good work Duwayne.

Patches reviewed with comments:

-The copyright year for TestExecutionHarness needs to be incremented to 2008.

-We can remove alwaysAllowConcurrentExecution from TestExecutionHarness.

-Can we remove allowConcurrentExecutionOnce from allowConcurrentExecutionOnce?

-Please complete the test cases this week.

-Please update the total hours worked.
Comment 15 Paul Slauenwhite CLA 2008-03-12 16:07:04 EDT
Please update the number of hours worked on this enhancement.
Comment 16 DuWayne Morris CLA 2008-03-12 16:42:29 EDT
Incorporated changes in accordance with Paul's comments in TestExecutionHarness, added a manual test case.  Updating hours worked.  Closing defect.
Comment 17 DuWayne Morris CLA 2008-06-09 09:11:13 EDT
Fixed and verified, closing.