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 179729

Summary: unstable model tests based on resolver_class_string.cc
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: Code ModelAssignee: Vladimir Voskresensky <vv159170>
Status: RESOLVED FIXED    
Severity: normal Keywords: TEST
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Alexander Simon 2010-01-21 01:11:13 UTC
Flowing model tests based on resolver_class_string.cc sometimes are failed:
org.netbeans.modules.cnd.modelimpl.trace.FileModelTest.testResolverClassString  (from FileModelTest) 
org.netbeans.modules.cnd.modelimpl.trace.FileModelTest.testResolverClassString_01  (from FileModelTest) 
org.netbeans.modules.cnd.modelimpl.trace.FileModelTest.testResolverClassString_02  (from FileModelTest) 
org.netbeans.modules.cnd.repository.impl.KeyValidatorRepositoryTest.testResolverClassString  (from KeyValidatorRepositoryTest) 
org.netbeans.modules.cnd.repository.impl.KeyValidatorRepositoryTest.testResolverClassString_01  (from KeyValidatorRepositoryTest) 
org.netbeans.modules.cnd.repository.impl.KeyValidatorRepositoryTest.testResolverClassString_02  (from KeyValidatorRepositoryTest)
Comment 1 Vladimir Voskresensky 2010-01-22 05:45:43 UTC
fixed.
http://hg.netbeans.org/cnd-main?cmd=changeset;node=dfdae5a20d7d

The issue was that waitParse of CsmProject wasn't correctly implemented. It didn't wait for fix fake registration completion phase and only asked queue about project files. 
=> pending activity counter is used now to track extra activity
Comment 2 Quality Engineering 2010-01-24 08:41:06 UTC
Integrated into 'main-golden', will be available in build *201001240200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/dfdae5a20d7d
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed IZ#179729: unstable model tests based on resolver_class_string.cc
Comment 3 Vladimir Voskresensky 2010-01-25 14:32:36 UTC
now it is stable