This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 73265

Summary: DDEditorTest random failures
Product: javaee Reporter: Erno Mononen <emononen>
Component: EJBAssignee: issues@javaee <issues>
Status: RESOLVED WONTFIX    
Severity: blocker Keywords: TEST
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: stack traces

Description Erno Mononen 2006-03-06 09:37:28 UTC
Tests in DDEditorTest fail randomly on various platforms. Cause of the failures 
varies between test runs.
Comment 1 Erno Mononen 2006-07-24 15:05:54 UTC
Created attachment 32148 [details]
stack traces
Comment 2 Erno Mononen 2006-08-29 15:47:55 UTC
*** Issue 72991 has been marked as a duplicate of this issue. ***
Comment 3 Erno Mononen 2006-09-08 10:13:08 UTC
Looks like the test doesn't fail in release55 branch anymore. However, I'll 
leave this issue open until the branch has been merged to trunk.
Comment 4 Erno Mononen 2006-10-16 12:19:53 UTC
New failure in trunk after the merge of release55 branch.

testAddParamValueInXmlView:
      junit.framework.ComparisonFailure: Context Params Table wasn't changed:  
expected:<cylinders> but was:<null>
	at junit.framework.Assert.assertEquals(Assert.java:81)
	at 
org.netbeans.modules.j2ee.ddloaders.web.test.DDEditorTest$5.finalCheck(DDEditorTest.java:190)
	at 
org.netbeans.modules.j2ee.ddloaders.web.test.util.StepIterator.iterate(StepIterator.java:76)
	at 
org.netbeans.modules.j2ee.ddloaders.web.test.util.StepIterator.<init>(StepIterator.java:35)
	at 
org.netbeans.modules.j2ee.ddloaders.web.test.util.StepIterator.<init>(StepIterator.java:31)
	at 
org.netbeans.modules.j2ee.ddloaders.web.test.DDEditorTest$5.<init>(DDEditorTest.java:175)
	at 
org.netbeans.modules.j2ee.ddloaders.web.test.DDEditorTest.testAddParamValueInXmlView(DDEditorTest.java:175)
Comment 5 Erno Mononen 2007-08-20 14:52:55 UTC
Still failing once in a while. Similarly to issue 73086 the problem is that the test (or in fact all 
tests in the class) relies on Thread.sleep and sometimes the model synchronizer hasn't yet updated the model when the 
assert is executed.
Comment 6 _ gowri 2008-11-19 22:38:20 UTC
Not critical for 7.0 as its related to unit test cases failing in the j2ee deployment descriptor module.
Comment 7 Quality Engineering 2009-11-02 11:13:20 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX