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 246519 - Test org.netbeans.modules.java.source.usages.LucenePerformanceTest:org.netbeans.modules.java.source.usages.LucenePerformanceTest::testPerformance fails
Summary: Test org.netbeans.modules.java.source.usages.LucenePerformanceTest:org.netbea...
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 8.0
Hardware: PC Solaris
: P4 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-18 13:56 UTC by lothe
Modified: 2016-07-07 07:18 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 lothe 2014-08-18 13:56:45 UTC
Test org.netbeans.modules.java.source.usages.LucenePerformanceTest:org.netbeans.modules.java.source.usages.LucenePerformanceTest::testPerformance fails by timeout on Solaris.

Failure message from test log file:
<failure message="All classes took too much time: 1009ms" type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError: All classes took too much time: 1009ms
	at junit.framework.Assert.fail(Assert.java:50)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at org.netbeans.modules.java.source.usages.LucenePerformanceTest.testPerformance(LucenePerformanceTest.java:140)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:484)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:97)
	at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:431)
	at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:357)
	at java.lang.Thread.run(Thread.java:745)
</failure>
Comment 1 lothe 2014-08-18 16:38:42 UTC
For some reason, the problem seems to manifest itself only on Sparc hosts.
Comment 2 Martin Balin 2016-07-07 07:18:36 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss