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 91992 - Test failure in SourceRootsTest
Summary: Test failure in SourceRootsTest
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: RANDOM, TEST
Depends on:
Blocks:
 
Reported: 2007-01-08 10:27 UTC by Milan Kubec
Modified: 2013-01-08 13:48 UTC (History)
0 users

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 Milan Kubec 2007-01-08 10:27:55 UTC
See error message:

junit.framework.AssertionFailedError: expected:<[roots]> but
was:<[rootProperties, roots]>
    at junit.framework.Assert.fail(Assert.java:47)
    at junit.framework.Assert.failNotEquals(Assert.java:280)
    at junit.framework.Assert.assertEquals(Assert.java:64)
    at junit.framework.Assert.assertEquals(Assert.java:71)
    at
org.netbeans.modules.java.j2seproject.SourceRootsTest.testSourceRoots(SourceRootsTest.java:154)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
...
Comment 1 Tomas Zezula 2007-02-14 10:23:53 UTC
I've tried to run the test several times and it always passed.
Comment 2 Milan Kubec 2007-02-20 11:02:28 UTC
Reopening, failing sometimes.
Comment 3 Milan Kubec 2007-05-15 14:54:44 UTC
Not easy to reproduce at all.
Comment 4 Milan Kubec 2007-09-18 12:49:45 UTC
Random failures, no user impact => P4.
Comment 5 Jiri Prox 2008-04-11 00:51:47 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 6 Quality Engineering 2009-01-31 19:28:11 UTC
Integrated into 'main-golden', will be available in build *200901311401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/7b98b2ab0f83
User: Jesse Glick <jglick@netbeans.org>
Log: Marking @RandomlyFails; see #91992.
Comment 7 Tomas Zezula 2013-01-08 13:48:26 UTC
Works fine in NB 7.3