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 - unstable model tests based on resolver_class_string.cc
Summary: unstable model tests based on resolver_class_string.cc
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2010-01-21 01:11 UTC by Alexander Simon
Modified: 2010-01-25 14:32 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 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