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 112717 - testWhenScanFinished blocks testing infrastructure
Summary: testWhenScanFinished blocks testing infrastructure
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: martin_adamek
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2007-08-14 09:00 UTC by pzajac
Modified: 2007-08-14 16:09 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log with threads dump (24.00 KB, text/plain)
2007-08-14 09:00 UTC, pzajac
Details
Log with threads dump (31.51 KB, text/plain)
2007-08-14 09:04 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2007-08-14 09:00:00 UTC
XTest: Hard timeout 2400000ms occured - trying to kill JVM - Mon Aug 13 23:29:14 CEST 2007

org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelperTest


testWhenScanFinished

OS - Vista.
Comment 1 pzajac 2007-08-14 09:00:43 UTC
Created attachment 46551 [details]
Log with threads dump
Comment 2 pzajac 2007-08-14 09:04:00 UTC
Another one test blocks testing infrastructure:
Test Suite org.netbeans.modules.j2ee.persistenceapi.metadata.orm.annotation.EntityMappingsMetadataModelCompatibilityTest

testFutureRethrowsUncheckedExceptionsWhenModelNotReady
Comment 3 pzajac 2007-08-14 09:04:57 UTC
Created attachment 46552 [details]
Log with threads dump
Comment 4 martin_adamek 2007-08-14 09:45:59 UTC
ClassIndexListener.typesAdded() is not fired to countDown the startLatch and test is blocked.
Tomasi, do you have any idea why listener doesn't get those events?
Fastest fix to unblock testing infrastructure is to disable the test or change it to use await() with timeout.
Comment 5 Tomas Zezula 2007-08-14 14:09:17 UTC
The ClassIndex firing doesn't changed in the last 14 days, also the ClassIndexTest (testing firing) is passing.
Comment 6 Tomas Zezula 2007-08-14 16:08:59 UTC
Checking in org/netbeans/modules/java/source/usages/RepositoryUpdater.java;
/cvs/java/source/src/org/netbeans/modules/java/source/usages/RepositoryUpdater.java,v  <--  RepositoryUpdater.java
new revision: 1.76; previous revision: 1.75
done