Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334011 - JUnit org.eclipse.jst.j2ee.dependency.tests.testStandaloneWebUtilDependency fails often when verifying dependencies
Summary: JUnit org.eclipse.jst.j2ee.dependency.tests.testStandaloneWebUtilDependency f...
Status: RESOLVED FIXED
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2.3   Edit
Assignee: Roberto Sanchez Herrera CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-11 12:52 EST by Roberto Sanchez Herrera CLA
Modified: 2011-01-12 15:01 EST (History)
1 user (show)

See Also:
cbridgha: review+


Attachments
Wait for component file updates (1.01 KB, patch)
2011-01-11 13:05 EST, Roberto Sanchez Herrera CLA
ccc: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roberto Sanchez Herrera CLA 2011-01-11 12:52:24 EST
Build Identifier: M-3.2.3-20110105054130

The JUnit org.eclipse.jst.j2ee.dependency.tests.testStandaloneWebUtilDependency fails quite often when verifying dependencies. The problem seems to be that the method DependencyCreationUtil.createWebLibDependency(saWeb, util) does not wait for the component file to be updated.

Reproducible: Sometimes
Comment 1 Roberto Sanchez Herrera CLA 2011-01-11 13:05:41 EST
Created attachment 186536 [details]
Wait for component file updates

This patch makes the method DependencyCreationUtil.createProjectDependency to wait for the jobs that updates the component file to finish in case a webLibDep is created (because this type of dependency updates the component file)
Comment 2 Chuck Bridgham CLA 2011-01-12 13:43:19 EST
approve
Comment 3 Carl Anderson CLA 2011-01-12 15:01:01 EST
Committed to R3_2_maintenance and HEAD for WTP 3.2.3 and WTP 3.3 M5