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.
Tests in DDEditorTest fail randomly on various platforms. Cause of the failures varies between test runs.
Created attachment 32148 [details] stack traces
*** Issue 72991 has been marked as a duplicate of this issue. ***
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.
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)
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.
Not critical for 7.0 as its related to unit test cases failing in the j2ee deployment descriptor module.
NetBeans.org Migration: changing resolution from LATER to WONTFIX