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 74226 - PersitenceUnitDataObjectTest failure
Summary: PersitenceUnitDataObjectTest failure
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 5.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords: RANDOM, TEST
: 73592 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-31 08:22 UTC by Erno Mononen
Modified: 2006-08-25 08:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erno Mononen 2006-03-31 08:22:03 UTC
PersitenceUnitDataObjectTest.testAddPersistenceUnit failed on Linux, test run 
200603280200.
Comment 1 Erno Mononen 2006-04-03 09:42:34 UTC
Another failure, PersistenceUnitDataObjectTest.testAddClass failed on Linux, 
test run 200603310200. These failures are caused by XmlMultiviewDataObject's 
DataCache not being up-to-date in some cases. Probably caused by DataCache being 
updated by a different thread. 
Comment 2 Erno Mononen 2006-04-14 14:05:53 UTC
Hopefully fixed in the release55 branch. 

Checking in PersistenceUnitDataObjectTest.java;
/cvs/j2ee/persistence/test/unit/src/org/netbeans/modules/j2ee/persistence/unit/
Attic/PersistenceUnitDataObjectTest.java,v  <--  PersistenceUnitDataObjectTest.
java
new revision: 1.1.2.6; previous revision: 1.1.2.5
done
Checking in PersistenceEditorTestBase.java;
/cvs/j2ee/persistence/test/unit/src/org/netbeans/modules/j2ee/persistence/unit/
Attic/PersistenceEditorTestBase.java,v  <--  PersistenceEditorTestBase.java
new revision: 1.1.2.5; previous revision: 1.1.2.4
done
Comment 3 Erno Mononen 2006-05-02 14:47:48 UTC
*** Issue 73592 has been marked as a duplicate of this issue. ***
Comment 4 Erno Mononen 2006-08-01 10:22:06 UTC
PersistenceUnitDataObjectTest.testRemoveClass failed 200608010000. Likely for 
the same reason. 
      
junit.framework.AssertionFailedError
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at junit.framework.Assert.assertFalse(Assert.java:34)
	at junit.framework.Assert.assertFalse(Assert.java:41)
	at 
org.netbeans.modules.j2ee.persistence.unit.PersistenceUnitDataObjectTest.testRemoveClass(PersistenceUnitDataObjectTest.java:95)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Comment 5 Erno Mononen 2006-08-01 12:51:20 UTC
Fixed in release55 branch.

Checking in PersistenceEditorTestBase.java;
/cvs/j2ee/persistence/test/unit/src/org/netbeans/modules/j2ee/persistence/unit/
Attic/PersistenceEditorTestBase.java,v  <--  PersistenceEditorTestBase.java
new revision: 1.1.2.10; previous revision: 1.1.2.9
done
Comment 6 Petr Jiricka 2006-08-24 09:15:55 UTC
Failing again randomly in the build 20060823, reopening.