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 203833

Summary: IncrementalParseRepositoryValidationTest test is failing
Product: cnd Reporter: Egor Ushakov <gorrus>
Component: Code ModelAssignee: Vladimir Voskresensky <vv159170>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Egor Ushakov 2011-10-17 14:24:18 UTC
RepositoryValidationFinal.testRepository is failing
Comment 1 Vladimir Voskresensky 2011-10-17 20:02:58 UTC
How to run this test? ReopenRepositoryValidationTest passes on my system
Comment 2 Vladimir Voskresensky 2011-10-17 20:04:22 UTC
IncrementalParseRepositoryValidationTest is failing. Is it the topic of this issue?
Comment 3 Alexander Simon 2011-10-18 04:43:05 UTC
(In reply to comment #2)
> IncrementalParseRepositoryValidationTest is failing. Is it the topic of this
> issue?
Yes
Comment 4 Vladimir Voskresensky 2011-10-18 14:12:01 UTC
this test checks if model supports the following feature:
- we close IDE while parsing is in progress
- we restart IDE and expect that model is consistent after finishing parse of not yet parsed files
Comment 5 Quality Engineering 2011-10-19 14:17:32 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/27e3bb2522c1
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixing #203833 - IncrementalParseRepositoryValidationTest test is failing
- more tracing
Comment 6 Vladimir Voskresensky 2011-10-19 15:25:33 UTC
fixed
http://hg.netbeans.org/cnd-main/rev/824b150d553d
Comment 7 Vladimir Voskresensky 2011-10-19 19:05:20 UTC
still failing on some platforms
Comment 8 Vladimir Voskresensky 2011-10-20 14:09:30 UTC
May be instability was related to some stolen data.
Now tests are not failing anymore.
+ I've added another test (to check if reopen in case of broken repository works)
Comment 9 Quality Engineering 2011-10-20 14:29:44 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/824b150d553d
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #203833 - IncrementalParseRepositoryValidationTest test is failing
- validation should include phase when previous header files are checked, because not all headers have corresponding NFI, but headers could be changed as well externally or interrupted during parse
Comment 10 Quality Engineering 2011-10-24 14:11:59 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/4f5fb8197758
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: update test to be able trace #203833 - IncrementalParseRepositoryValidationTest test is failing